Author: mattip <[email protected]>
Branch: 
Changeset: r76959:f15b0957b177
Date: 2015-05-01 08:37 +0300
http://bitbucket.org/pypy/pypy/changeset/f15b0957b177/

Log:    fix translation

diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py
--- a/pypy/interpreter/pyframe.py
+++ b/pypy/interpreter/pyframe.py
@@ -63,10 +63,10 @@
     w_locals = None # dict containing locals, if forced or necessary
     pycode = None # code object executed by that frame
     locals_stack_w = None # the list of all locals and valuestack
-    valuestackdepth = -1 # number of items on valuestack
+    valuestackdepth = 0 # number of items on valuestack
     lastblock = None
     # default to False
-    f_lineno = -1 # current lineno
+    f_lineno = 0 # current lineno
     cells = None # cells
 
     # other fields:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to