- 14 Jul, 2016 10 commits
-
-
Marius Wachtler authored
bjit: use a bitset for register tracking in the rewriter and use r12, r15, rbx, rbp in PPs and the bjit Keeping the available registers in a bitset makes it more memory efficient and also easier and more performant to calculate a subset of the registers. I will soon implement the 'otherThan' functionality using it which would fix the current problem of only allowing to exclude one register
-
Marius Wachtler authored
-
Marius Wachtler authored
keep track of which variables are known to be a python bool so that we can remove some of the nonzero() calls
-
Marius Wachtler authored
at somepoint we really should split all this common code into a function...
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
Some SciPy fixing.
-
Boxiang Sun authored
This is hacky, but delve into scipy souce code to fix the numerous implicit function declaration is not make sense for now.
-
Boxiang Sun authored
Because scipy rely on NumPy, so add scipy test to numpy_test.py. And rename it to scipy_test.py. numpy_full_test.py will check numpy test suite. The scipy_test.py only for check scipy test suite. But scipy test will take a long time. So disabled it by default.
-
Boxiang Sun authored
-
- 13 Jul, 2016 2 commits
-
-
Boxiang Sun authored
In PyDict_Next, the 3rd argument `pkey` and 4th argument pvalue could be NULL. lxml will try to call it by PyDict_Next(kwdict, &pos, &key, 0). And a check like CPython did.
-
Boxiang Sun authored
Cython try to store argcount, nlocals, and varnames through PyCode_New. But Pyston don't do anything with those or support getting them back out.
-
- 12 Jul, 2016 4 commits
-
-
Kevin Modzelewski authored
Some scipy fixes
-
Kevin Modzelewski authored
I had spelled the test name wrong
-
Kevin Modzelewski authored
The repro is: - import a.b, and in a.b do - import a.b as ab This will cause an attribute error, since a.b (the name) is successfully importable, but a.b (the attribute) doesn't exist yet.
-
Kevin Modzelewski authored
-
- 11 Jul, 2016 6 commits
-
-
Kevin Modzelewski authored
VRegSet: use a llvm bitvector as representation
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Add missing tp_as_mapping
-
Kevin Modzelewski authored
Support attrwrapper as globals argument to execfile
-
Kevin Modzelewski authored
It keeps timing out
-
Kevin Modzelewski authored
Or rather, have execfile() be more permissive in what it accepts. It may still abort when we get to pickGlobalsAndLocals() and we discover that we can't actually execute in that particular attrwrapper.
-
- 09 Jul, 2016 2 commits
-
-
sizeoftank authored
-
sizeoftank authored
-
- 08 Jul, 2016 2 commits
-
-
Marius Wachtler authored
only lookup __[set/get/del]slice__ for slice AST nodes
-
Kevin Modzelewski authored
Switch almost everything to use vregs when possible
-
- 07 Jul, 2016 2 commits
-
-
Kevin Modzelewski authored
-
Marius Wachtler authored
before this change C()[slice(1,2)] = "a" would call into `__setslice__` because it got handled as C()[1,2] = "a" This commits adds cpythons assign_slice/apply_slice and add rewriter support for them.
-
- 06 Jul, 2016 12 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
The VRegMap doesn't contain explicit "is-set" bits, so I originally just had iteration return all values. But all the uses of it ended up needing to have a default value to represent "not set in map" and then iterating would explicitly check if the value was that and then would skip it. Now that behavior is moved into VRegMap itself.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
And update sys_test to support apport overriding excepthook
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
A tricky side-effect I didn't think about is that block-local vregs can now look "live" at the end of their block. When using names, there are no other uses/defs, but if we reassign the vreg there can be.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
ie don't allow calling it for ones where multiple names will reuse the same vreg
-
Kevin Modzelewski authored
The benefit here is indirect, of letting us get rid of some of the compatibility shims for moving between vregs and names.
-
Kevin Modzelewski authored
-