- 11 Apr, 2016 2 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 09 Apr, 2016 7 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Use the CPython technique of swapping out the list contents for the duration of the sort, since the compare functions can look at the list. This wasn't even being triggered by something that explicitly looked at the list: the issue was that the comparison function invoked a gc collection and the gc saw the half-mutated list.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
ie if we do set.remove(k), we don't decrement k -- we decrement whatever was in the set, which can be different.
-
- 08 Apr, 2016 11 commits
-
-
Kevin Modzelewski authored
We can just use the CPython implementation now
-
Kevin Modzelewski authored
This is kind of dumb but it's the same thing that we were doing with a tracing GC.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
The unbound-instancemethod part of it is still failing, but I don't want to gate the rest of the test on a failure that is unrelated.
-
Kevin Modzelewski authored
ie calling an unbound instancemethod of the wrong type will result in an exception. Tricky because this shouldn't end up applying to __new__
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Where we hadn't gone through and updated the exception-catch sites to clear/hand off their owned ref appropriately.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 07 Apr, 2016 9 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Mostly, what happens if class-creation fails.
-
Kevin Modzelewski authored
add refcounting annotation to some set function
-
Boxiang Sun authored
-
Kevin Modzelewski authored
-
- 06 Apr, 2016 11 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
ie something like "print C().__dict__" The attrwrapper objects don't (arnd probably shouldn't) keep their underlying objects alive. Previous to this commit they would just try to access their freed underlying object and crash. With this commit, object deallocation will check if there is an attrwrapper, and if so convert it to be privately-backed.
-
Kevin Modzelewski authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
First, our implementation of slot_tp_del (what calls Python-level __del__ methods) was pretty bad -- it didn't re-incref the object to keep it alive. Then we had some issues around running destructors at shutdown. I made this section look a bit more like CPython's, but there are still differences.
-
Kevin Modzelewski authored
int positive function refcounting fixing
-