Commits

Show all
Author Commit Message Labels Comments Date
Hakan Ardo
test ensuring xrange iterator only produces a single setitem
Branches
step-one-xrange
Hakan Ardo
special case xrange without any step specified
Branches
step-one-xrange
Hakan Ardo
only use a single counter in xrange iterators (should save a setitem)
Hakan Ardo
break up circular dependencies among short_boxes and give up
Hakan Ardo
hg merge
Hakan Ardo
allow setarrayitem to update the cache exported from the preamble to the loop the same way setfield does
Hakan Ardo
alternative fix that does not rely on interning ints
Hakan Ardo
dissable for now, it makes test_convert_from_SmallFunctionSetPBCRepr_to_FunctionsPBCRep fail
Hakan Ardo
corner case not handled very well
Hakan Ardo
test short preamble and non constant case aswell
Hakan Ardo
interning ints aswell
Armin Rigo
merge heads
Armin Rigo
Add tests for two special cases of "MOV" in INSN().
Armin Rigo
- add in the backend, for binary instructions, a memo function that returns True if there is any NAME_xy that could match. If it returns False we know the whole subcase can be omitted from translated code. Without this hack, the size of most _binaryop INSN functions ends up quite large in C code. - found out that a lot of instructions have a missing case on 64 bits, because INSN_m used to fall back to INSN_a if the constant offset doesn't fit in 32 bits --- but most instructions that have an 'm' form don't have an 'a' form. Fixed by generating an extra LEA and not falling back to the 'a' form. - location_code() is an indirect method call for no really good reason. Turn it int…
Alex Gaynor
don't use the JIT strslice optimization if some of the characters are in an unknown state with regards to whether they're initialized
Hakan Ardo
hg merge
Hakan Ardo
hg merge
Hakan Ardo
failing test
Armin Rigo
Found the cause of the failure of test_nongc_attached_to_gc in test_newgc: we forgot to add the surviving objects from young_objects_with_light_finalizers to the old version of that list. Fix the test and re-enable light finalizers with minimark.
Armin Rigo
Move these imports to a place where they will only be triggered if we are configured to use them.
Armin Rigo
Do the imports only if the config option is set.
Armin Rigo
merge heads
Armin Rigo
Clean up: min() is now RPython.
Carl Friedrich Bolz
remove some C-isms
Armin Rigo
Try never to crash when inspect.getsource() fails.
Armin Rigo
Accept py.test.skip()'s exception as also meaning "skip this package" here.
Armin Rigo
Skip if we on't have curses.
Armin Rigo
Windows fix.
Armin Rigo
On Windows, the renamed binary file must end with ".exe".
Alex Gaynor
fix for the failing test - StopIteration raised from anywhere kills the generator
  1. Prev
  2. Next