- 22 Jul, 2015 14 commits
-
-
Rudi Chen authored
Make sure CPython functions like PyObject_Del do not free any objects. It's better to let the GC free all objects because only the GC can guarantee that there are no more references to an object.
-
Rudi Chen authored
New testing helper function ensures that objects are garbage collected and their finalizers tested in a more strict order. This reduces the chances that an object isn't collected because a reference remains in the stack, but it's hard to fully solve this problem as long as we have conservative stack scanning.
-
Rudi Chen authored
- Call all finalizers properly, in a safe-to-do-so order. - Make finalizers work together with weak reference callbacks - namely, both should be able to get called, and weakref callbacks should be called before finalizers. - Old style classes are also supported, but we always do an attribute lookup for tp_del because there's no tp_del slot. Since it would be too slow to do an attribute lookup all the time in GC, we just assume all old-style classes have an ordered finalizer.
-
Rudi Chen authored
Make sure __del__ methods get assigned to tp_del in new style classes. Go through an attribute lookup in old style classes. Also, change the function calling structure to match CPython's a bit better. For exceptions thrown in tp_del methods, print a warning and ignore them, like CPython does.
-
Rudi Chen authored
-
Kevin Modzelewski authored
Fix parsing caching
-
Kevin Modzelewski authored
Reenable attr interning
-
Kevin Modzelewski authored
Flipped conditional meant that we were never caching the parse results :(
-
Kevin Modzelewski authored
If we ask for a string as non-interned, and then ask for an interned version of the string, we will discard the non-interned version and generated a new interned version. Now, keep the old version alive as well.
-
Kevin Modzelewski authored
From the course of debugging this gc issue. this commit shouldn't have much effect normally.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
update libpypa
-
Kevin Modzelewski authored
Add integration test for installing NumPy
-
Kevin Modzelewski authored
travis-ci fixes
-
- 21 Jul, 2015 23 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
You can't use exit() to exit in the same way as if you had died with a signal; we tried to do some exit-code munging but we did it one way and our tester script expected another way. we could resolve that, or use the approach here: try to die with the same signal by sending it to ourselves.
-
Rudi Chen authored
Doesn't work right now, but we'll want to support NumPy at some point.
-
Kevin Modzelewski authored
The debug builds are taking a very long time to compile, but when I reran one it completed very quickly. Let's see if this works+helps.
-
Chris Toshok authored
Add docs and tips for new contributors
-
Kevin Modzelewski authored
try reverting these
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
This reverts commit 071ca0d8, reversing changes made to aba975d1.
-
Kevin Modzelewski authored
This reverts commit c78fdcb9.
-
Kevin Modzelewski authored
Fixes
-
Kevin Modzelewski authored
Instead, save the file data and parse that instead. I think that should help with cases where the cached file was getting trampled.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
More travis-ci investigations
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
A fix to the ast interpreter gc visitor
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
more small perf work
-
Kevin Modzelewski authored
Cache floats based on their bits, not their value
-
Kevin Modzelewski authored
Fix some issues found during a search for another bug
-
Kevin Modzelewski authored
now that the strings get interned anyway. if we want to continue down that road of interning BoxedStrings, we could probably do away with InternedString's entirely.
-
Kevin Modzelewski authored
Allocating things in-line, using malloc-friendly data structures, etc.
-
- 20 Jul, 2015 3 commits
-
-
Kevin Modzelewski authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Fix a small test output difference on Ubuntu 15.04
-