Author: Armin Rigo <ar...@tunes.org>
Branch: store-sink-array
Changeset: r45075:f90f6a18a428
Date: 2011-06-23 12:06 +0000
http://bitbucket.org/pypy/pypy/changeset/f90f6a18a428/

Log:    Translation fix.

diff --git a/pypy/interpreter/pycode.py b/pypy/interpreter/pycode.py
--- a/pypy/interpreter/pycode.py
+++ b/pypy/interpreter/pycode.py
@@ -63,6 +63,7 @@
         the pypy compiler"""
         self.space = space
         eval.Code.__init__(self, name)
+        assert nlocals >= 0
         self.co_argcount = argcount
         self.co_nlocals = nlocals
         self.co_stacksize = stacksize
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to