Author: Maciej Fijalkowski <[email protected]>
Branch: virtual-arguments
Changeset: r56272:5bf84878c318
Date: 2012-07-20 10:44 +0200
http://bitbucket.org/pypy/pypy/changeset/5bf84878c318/

Log:    backout aa9406870803

diff --git a/pypy/interpreter/astcompiler/assemble.py 
b/pypy/interpreter/astcompiler/assemble.py
--- a/pypy/interpreter/astcompiler/assemble.py
+++ b/pypy/interpreter/astcompiler/assemble.py
@@ -332,9 +332,7 @@
         """Turn the applevel constants dictionary into a list."""
         w_consts = self.w_consts
         space = self.space
-        lgt = space.len_w(w_consts)
-        assert lgt >= 0
-        consts_w = [space.w_None] * lgt
+        consts_w = [space.w_None] * space.len_w(w_consts)
         w_iter = space.iter(w_consts)
         first = space.wrap(0)
         while True:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to