- 11 Jul, 2016 1 commit
-
-
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.
-
- 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 24 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.
-
Marius Wachtler authored
Track down an elusive reference leak
-
Kevin Modzelewski authored
The pattern seems to be that we invalidate an IC (deregestering the decrefinfo), but there is a stack frame in that IC and furthermore that stack frame will get unwound via an exception. The fix I did here is to not deregister the decrefinfo if num_inside>0.
-
- 05 Jul, 2016 8 commits
-
-
Marius Wachtler authored
capi: add the direct access macros back
-
Marius Wachtler authored
-
Marius Wachtler authored
mp_ass_subscript could become NULL and we would have crashed
-
Marius Wachtler authored
deinitFrame: don't modify CAPI exception state
-
Marius Wachtler authored
If a CAPI exception was set and we called deinitFrame in some rare cases calling the finalizers cleared the CAPI exception. This would cause us to return NULL even though no exception is set #1273 (for LLVM functions compiled in capi mode) Unfortunately I could not come up with a testcase which triggers it but I verified that it fixes the problem scipy triggered.
-
Marius Wachtler authored
fix some scipy segfaults
-
Boxiang Sun authored
rearrangeArguments added a extra ref to numpy array in when call numpy resize function. fixes issue #1275
-
Boxiang Sun authored
If rewriter encounter a situation which can't be handled. It will set the `failed` to `true`. In this situation, just stop to emit code. And also don't check some assert.
-
- 04 Jul, 2016 2 commits
-
-
Kevin Modzelewski authored
Optimize the llvm refcounter pass
-
Marius Wachtler authored
Remove the "CPython executable parser"
-
- 03 Jul, 2016 1 commit
-
-
Boxiang Sun authored
Pyston call CPython executable to generate CPython AST. Remove this "parser", use CPython Parser module by default. Pass "-x" to enable libpypa parser.
-