- 13 Jul, 2016 2 commits
-
-
Kevin Modzelewski authored
- special-case classes that we know have a fixed length (ex str) - do patchpoints for getIterHelper
-
Kevin Modzelewski authored
(it uses old-style iteration) And crazily, there is code that relies on this. I wouldn't usually want to give in to code relying on such an esoteric feature, but this seems to be a speedup as well (though that deserves looking into, itself).
-
- 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 22 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
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
They were previously represented as strings, like in cpython, but we want to treat them like names.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Maybe not the best place to start
-
Kevin Modzelewski authored
rather than implicitly via being missing in the hashtable.
-