Commits

Show all
Author Commit Message Labels Comments Date
Alex Gaynor
update another function for the new greenkey
Branches
jit-tracehook
Alex Gaynor
fix for new greenkeys
Branches
jit-tracehook
Alex Gaynor
A branch to allow JITing of python when there's a tracehook installed.
Branches
jit-tracehook
Hakan Ardo
hg merge
Hakan Ardo
Dont raise OverflowError when resuming from a guard_no_overflow from the short preamble (should fix issue 1072)
Hakan Ardo
try the crashing case first
Armin Rigo
A test specifically for the presence of the LEA at the start of the bridge.
Antonio Cuni
(arigo) these asserts are pointless, they are done just above
Antonio Cuni
in cpython array.array define tp_richcompare, not tp_compare; do the equivalent for pypy
Antonio Cuni
(arigo) use directly space.lt instead of going through space.gt
Antonio Cuni
(antocuni, arigo) simplify the definition of le and gt, to avoid using space.or_
Antonio Cuni
add a way to automatically define __gt__, __ge__, __le__ and __ne__ on top of the given __lt__ and __eq__
Antonio Cuni
ignore also ValueErrors when autoflushing _io files. This is suboptimal, because a ValueError might be an actual bug, but it's the exception which is raised when we try to flush a closed file: this has been reported to happen sometimes with e.g. gzip.GzipFile
Hakan Ardo
hg merge
Hakan Ardo
resurrect 3 lost overflow tests
Armin Rigo
Slight changes of the interface, to make it clear that callers don't expect to do anything with the token --- just check if it's 0 or not.
Hakan Ardo
hg merge
Hakan Ardo
Dont import boxes proven constant while setting up the short_boxes and dont use the fallback to produce boxes with same_as if the box was already produced (should fix issue1045)
Hakan Ardo
simplify test
Antonio Cuni
bah, the name of this class is clearly wrong (maybe a copy&paste)?
Hakan Ardo
failing test
Armin Rigo
Phew. A passing test checking that gc pointers are correctly saved and correctly restored around CALL_MALLOC_NURSERY.
Armin Rigo
Add a passing test.
Antonio Cuni
move wrap_streamerror and wrap_oserror_as_ioerror in a separate file. This is usefult in the py3k branch because we are about to kill module/_file
Armin Rigo
Add _Py_ForgetReference(). http://mail.python.org/pipermail/pypy-dev/2012-February/009482.html
Antonio Cuni
there is no need to import the full applevel warnings module to implement space.warn: warnings.warn is replaced by _warning.warn anyway, so just use that instead. As a consequence, we need to make _warnings an essential module, but I think this is fine since emitting warnings is required by some places in the core interpreter
Hakan Ardo
hg merge
Hakan Ardo
Failing test where i73 is assigned twice in the optimized trace.
Justin Peel
move import to top...
Justin Peel
move import outside of function
  1. Prev
  2. Next