Commits

Author Commit Message Labels Comments Date
Armin Rigo
This was meant to say (2, 6) and not (2.6), I am pretty sure. Fixed, but then the test fails on top of Python 2.6...
Armin Rigo
Merge op_malloc_gc: move out of the jit backend the NEWxxx operations. Now they are replaced during a rewrite phase with explicit CALL_MALLOC_GC's, which are almost equivalent to plain CALLs, as well as CALL_MALLOC_NURSERY, which are a simplified version of "bump the nursery pointer". The point, besides simplifying the backends, is that the rewriting is done a bit more cleverly now: it will merge several consecutive NEWxxx into a single CALL_MALLOC_NURSERY, which also avoids some write barriers. CALL_MALLOC_GC is only used for mallocs that are either too large or of a non-constant size.
Armin Rigo
fix on 64-bit, found by test_zll_stress again
Armin Rigo
don't overwrite a previous exception with MemoryError, if any
Armin Rigo
Fix if the malloc() functions provided by gc.py don't raise MemoryError themselves, as e.g. the Boehm ones.
Armin Rigo
(reported by amaury) Test and fix: proxies used to force too many arguments. They should really force the "minimum" number of them, which means "usually 1 and sometimes 2" based on some half-random rule. Tested against CPython.
Alex Gaynor
#966 -- removed a line of dead code, thanks to mikefc for the patch
Armin Rigo
merge heads
Armin Rigo
kill the comments, they no longer apply.
Maciej Fijalkowski
Temporarily revert 976baeae86ed, seems to break some stuff for obscure reasons
Amaury Forgeot d'Arc
Check type of some ast nodes: return.value must be an expr *subclass*, but not an expr!
Amaury Forgeot d'Arc
Small improvement in generated ast: lineno and col_offset are always at positions 1 and 2, code is simpler and avoid an indirection.
Amaury Forgeot d'Arc
Run ./interpreter/astcompiler/tools/asdl_py.py
Alex Gaynor
make str.replace() not do tons of copying
Armin Rigo
Fix: again only look at the "loop" part, ignoring the "preamble" part.
Armin Rigo
Fix test: "width" => "get_width()"
Armin Rigo
Fix for sandbox.
Alex Gaynor
fixes for ulong dtype and some small other cleanups
Jeff Terrace
Merged numpy-full-fromstring
Armin Rigo
fix to handle branch names with special characters, like spaces
Armin Rigo
merge heads
Armin Rigo
fix
Armin Rigo
add an assert.
Armin Rigo
Merge the counter-decay branch: * add a theoretically useful "exponential decaying" of loop counters * it is useful in practice to decay and kill old JitCells from the jitcell_dict, which is used for all jitdrivers apart from PyPy's main one.
Hakan Ardo
hg merge
Hakan Ardo
setinteriorfield_should_not_clear_cache
Maciej Fijalkowski
improve caching
Armin Rigo
I know it contains a loop and thus cannot be inlined at all at the moment, but it doesn't hurt to disable it explicitly too
Hakan Ardo
inline descr_get_shape to prevent a residual call on two dimensional array accesses
Alex Gaynor
merged upstream
  1. Prev
  2. Next