Source

pypy / pypy / interpreter / pyframe.py

Author Commit Message Labels Comments Date
Armin Rigo
Backout part of 9dc6cd01cad3, looks like checked in by mistake.
Maciej Fijalkowski
fix termios tests
Maciej Fijalkowski
backout 331a52aa6f9e
Branches
virtual-arguments
Maciej Fijalkowski
backout 1f99cb314a0d
Branches
virtual-arguments
Maciej Fijalkowski
another one
Branches
virtual-arguments
Maciej Fijalkowski
this is always positive
Branches
virtual-arguments
Armin Rigo
typo
Armin Rigo
Minor change: get rid of 'frame.nlocals', a mostly useless attribute.
David Schneider
(arigo, bivab) make sure next_instr is unsigned and handlerposition is a non-neg signed O.o
Branches
disable_merge_different_int_types
Armin Rigo
Revert this check. It seems that w_globals cannot and should not be null.
Branches
continulet-pickle
Armin Rigo
Performance issue: reading the f_back attribute at app-level would now force its result. Thanks fijal for spotting it!
Armin Rigo
'honor__builtins__' is generally False, but just in case, be safe against corner cases in which w_globals is None.
Armin Rigo
A test for hidden_applevel code objects, and fixing the fact that the 'f_back' attribute of frames might return a hidden frame.
Carl Friedrich Bolz
merge default
Branches
faster-nested-scopes
Armin Rigo
Tentative: make sure that all PyFrame instances are actually instances of the (same) subclass.
Armin Rigo
FrameBlocks are _immutable_, so don't change the 'previous' attribute.
Carl Friedrich Bolz
fix
Branches
faster-nested-scopes
Carl Friedrich Bolz
make Function.closure a quasi-immutable array. Pass it into createframe, so that the reading of the cells is constant-folded.
Branches
faster-nested-scopes
Armin Rigo
Replace the two lists on PyFrame, 'fastlocals_w' and 'valuestack_w', with a single unified list 'locals_stack_w' that stores first the locals and then the stack item.
Branches
store-sink-array
Antonio Cuni
(antocuni, arigo): merge the invalidate-virtualrefs branch; this makes virtualrefs *less* powerful, because they can no longer be forced after the call to virtual_ref_finish (unless they were already forced before), but at the same time it lets the JIT to optimize them better; in particular, we can avoid to allocate the frames after a call whose effectinfo is none
Benjamin Peterson
some rarely used frame methods which we don't have to look inside
Armin Rigo
hg merge default
Branches
invalidate-virtualrefs
Armin Rigo
Add an interface get_traceback()/set_traceback() on OperationError. The frame is marked as escaping only if we call get_traceback(), or if the exception escapes the current frame.
Branches
invalidate-virtualrefs
Antonio Cuni
make sure that the frame vref is forced when we call sys._getframe()
Branches
invalidate-virtualrefs
Carl Friedrich Bolz
remove resume points in Python interpreter, now that they are not needed any more
Branches
unpickle-coroutine-trampoline
Armin Rigo
- also test other cases, finding another bug. - fix the two bugs.
Armin Rigo
Optimize frame creation by the JIT by making the default value of these two fields be 0 instead of -1.
Armin Rigo
Get rid of Frame.numlocals.
Amaury Forgeot d'Arc
getdict() now takes the 'space' as argument
Branches
getdict-signature
Amaury Forgeot d'Arc
GetSetProperty now accept arguments in both order: (space, self) or (self, space) Use the more natural order when the getter is a class method
Branches
improve-unwrap_spec
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. 7
  9. Next