1. Pypy
  2. Untitled project
  3. pypy

Commits

Show all
Author Commit Message Date Builds
Ronan Lamy
Merge branch 'py3k-update'
Branches
py3k
Ronan Lamy
close branch before merging
Branches
py3k-update
Ronan Lamy
Fix translation
Branches
py3k-update
Ronan Lamy
Remove reference to old-style classes
Branches
py3k-update
Ronan Lamy
hg merge default
Branches
py3k-update
Armin Rigo
Implement FinalizerQueue as documented for the emulated on-top-of-cpython mode
Branches
gc-del-3
Armin Rigo
Manually reset sys.settrace() and sys.setprofile() when we're done running. This is not exactly what CPython does, but if we get an exception, unlike CPython, we call functions from the 'traceback' module, and these would call more the trace/profile function. That's unexpected and can lead to more crashes at this point.
Ronan Lamy
Don't run -A tests in cpyext
Branches
py3k-update
Armin Rigo
These are really queues, similar to Java's queues of objects to finalize.
Branches
gc-del-3
Armin Rigo
Update docs with the goal
Branches
gc-del-3
Armin Rigo
Make a new attempt similar to the unmerged 'gc-del' branch, with a smaller scope: the goal is only to add rgc.register_finalizer()
Branches
gc-del-3
Armin Rigo
merge heads
Armin Rigo
document branch
Armin Rigo
hg merge cpyext-auto-gil When some PyXxx() function is called without the GIL, we already detect this case. Previously we would complain loudly. With this change, we instead silently acquire/release the GIL. This seems to make numpy happy: it contains calls to some "simple" PyXxx() functions without the GIL, hoping that their implementation is kept simple enough, and expect no problem from that.
Armin Rigo
Ready to merge, numpy tests seem happy
Branches
cpyext-auto-gil
Armin Rigo
Remove these two lines, which simply causes an exception to be printed to stderr and otherwise ignored (both with and without -A)
Devin Jeanpierre
Use "must be unicode, not %T" in unicodedata TypeErrors.
Armin Rigo
When some PyXxx() function is called without the GIL, we already detect this case. On "default" we then complain loudly. Maybe we should instead silently acquire/release the GIL. This would allow this case to work: CPython C extension modules might call some "simple" CPython PyXxx() functions without the GIL and hope that their implementation is kept simple enough.
Branches
cpyext-auto-gil
Armin Rigo
Fix another test using PyString_Concat() in a way that is now crashing---and wrong according to the CPython documentation
Armin Rigo
GIL handling fix: must use generic_cpy_call() instead of directly calling some type slots
Armin Rigo
Fix PyString_Concat and PyString_ConcatAndDel to do the right thing with reference counts (I think)
Armin Rigo
Silence this debug print
Armin Rigo
Backed out changeset 1cb2c3897dbb It makes a single RPython subclass instead of two if the base RPython class has already got a __del__. But this base __del__ might be lightweight; then the RPython subclass will always have a heavyweight finalizer...
Armin Rigo
Comment about the __del__ logic in typedef.py, and point to issue #2287.
Devin Jeanpierre
merge branch cpyext-test-A. This gets all cpyext tests passing under -A. All the fixes are either by changing behavior to do the CPython-compatible thing, "#ifdef PYPY_VERSION" to have PyPy-specific test behavior, or else a @pytest.mark.skipif for tests that shouldn't be run in CPython at all.
Armin Rigo
Document branch
Armin Rigo
hg merge share-cpyext-cpython-api Share the ~one thousand @cpython_api function wrappers, according to the signature. This reduces the number to ~200 or 250, and this alone seems to give a more than 10% size win on the final pypy-c (measured without the JIT). This should cancel the effect of the size boost from 'cpyext-for-merge'.
Armin Rigo
Close branch, ready for merge (well, the tests don't seem to fail more than on default...)
Devin Jeanpierre
ifdef-out a weird tp_basicsize test in CPython.
Branches
cpyext-test-A
Devin Jeanpierre
Allow the initial refcount of () to be != 1 in test_tupleobject, for CPython-compatibility of the test.
Branches
cpyext-test-A
  1. Prev
  2. Next