Commits

Show all
Author Commit Message Labels Comments Date
Armin Rigo
Fix.
Branches
getopt-appmain
Armin Rigo
Whack at app_main until I get a result that I'm kind of happy with. Add tests for parse_command_line().
Branches
getopt-appmain
Armin Rigo
A branch in which to refactor the option parsing done by appmain.py, to be more compatible with CPython's.
Branches
getopt-appmain
Armin Rigo
Merge branch/more-posix, adding some more functions to the 'os' module.
Carl Friedrich Bolz
implement an EmptyDictImplementation, that most dictionaries start out as. This makes dictionaries that are just allocated and never filled much more efficient (which apparently happens more often than you would think, judging by our memory studies).
Carl Friedrich Bolz
fix test of r79907. apparently, no existing test needed this condition.
Armin Rigo
Reintroduce the possibility to dump machine code: it goes now to the standard log file. Use PYPYLOG=jit-backend-dump:log. Load it with jit/backend/x86/tool/viewcode.py, by calling it with the 'log' filename.
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.
  1. Prev
  2. Next