[pypy-commit] pypy default: document two missing fields

fijal noreply at buildbot.pypy.org
Thu Apr 30 19:20:13 CEST 2015


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r76955:b4e74fa7ca14
Date: 2015-04-30 19:20 +0200
http://bitbucket.org/pypy/pypy/changeset/b4e74fa7ca14/

Log:	document two missing fields

diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py
--- a/pypy/interpreter/pyframe.py
+++ b/pypy/interpreter/pyframe.py
@@ -65,13 +65,19 @@
     locals_stack_w = None # the list of all locals and valuestack
     valuestackdepth = -1 # number of items on valuestack
     lastblock = None
-    builtin = None # builtin cache, only if honor__builtins__ is True,
     # default to False
     f_lineno = -1 # current lineno
     cells = None # cells
 
+    # other fields:
+    
+    # builtin - builtin cache, only if honor__builtins__ is True,
+
     # there is also self.space which is removed by the annotator
 
+    # additionally JIT uses vable_token field that is representing
+    # frame current virtualizable state as seen by the JIT
+
     def __init__(self, space, code, w_globals, outer_func):
         if not we_are_translated():
             assert type(self) == space.FrameClass, (


More information about the pypy-commit mailing list