Commits

Show all
Author Commit Message Labels Comments Date
Armin Rigo
Implement stack checks at the beginning of the entry code for call_assembler. A test passes on 32-bit, still crashes on 64-bit...
Branches
jit-stackcheck
Armin Rigo
Rewrite the stack overflow detection logic. The goal is to get a simple check done in rlib/rstack.py, followed by a call to the slow path if it fails; the check should be simple enough to be easily inlinable by the JIT.
Branches
jit-stackcheck
Armin Rigo
A branch to implement stack checks in the jit.
Branches
jit-stackcheck
Carl Friedrich Bolz
use full width of a signed even on 64 bit machines to make string finding probably a bit faster there
Armin Rigo
A complete hack, but improve performance on 64-bit builds. It makes "sha" no longer 1.5x slower than on 32-bit, but about the same speed. I expect a similar speed-up for "md5".
Armin Rigo
The target I use to benchmark rlib/rsha.py.
Armin Rigo
Replace the deprecation message with something a bit clearer. The issue is that we can't arbitrarily add new 'deprecations' to the language.
Armin Rigo
Semi-hacks to still have around the information about which loop a jump goes to, even without having a strong reference.
Armin Rigo
Merge from branch/ctypes-fix: Fix _ensure_objects() on class _SimpleCData. Always returns self._objects, but asserts that it is None for all _SimpleCDatas except z, Z and P.
Armin Rigo
Tentative fix for a rare case that occurred so far only on Windows.
Armin Rigo
Fix the test with a custom __repr__ on W_SyntaxError.
Armin Rigo
A failing test, causing the failure of the stdlib's test_codeop.py.
Benjamin Peterson
provide default
Armin Rigo
Bah, messed up: on Mac OS X, it would return exactly the L2 cache size as a "best nursery size". That's really wrong. That's probably the worst possible answer :-(
Amaury Forgeot d'Arc
Don't release the GIL when VirtualProtect is called to protect recently freed memory.
Armin Rigo
Also print the old nursery address.
Alex Gaynor
Let the other side of __eq__ be called for comparison of methods with other types.
Armin Rigo
os.fchdir().
Armin Rigo
Thanks agaynor for pointing out that the select module already had a similar function. Combine both versions and move it as space.c_filedescriptor_w().
Armin Rigo
Support os.fsync(f) and os.fdatasync(f), where f is any object with a fileno() method.
Armin Rigo
Implement os.getloadavg(). (Phew, we really need to edit files in all corners of the world for this...)
Armin Rigo
Fix for the stdlib's test_traceback: make sure that SyntaxError().args[1] is a 4-tuple, as in CPython, and not a 5-tuple. Apparently traceback.format_exception_only() is sensible to that.
Armin Rigo
Fix test.
Armin Rigo
Fix this test. Too precise...
Armin Rigo
Fix test.
Armin Rigo
Fix test.
Armin Rigo
I think that all changes done to the "encodings" package can be safely reverted now.
Armin Rigo
Merge branch/gc-debug, adding PYPY_GC_DEBUG to the runtime environment variables (setting gc.DEBUG) and tweaking PYPY_GC_NURSERY for small sizes. Also new: in gc.DEBUG mode, rotate through 23 nurseries, marking the unused 22 ones with PROT_NONE. This should help noticing when the code uses by mistake a pointer without having it listed by trackgcroot.
Alex Gaynor
A failing test for call(*0) or call(**0)
Armin Rigo
Merge from branch/gc-debug: at runtime, PYPY_GC_DEBUG=1 enables DEBUG=True in the GC.
  1. Prev
  2. Next