[pypy-commit] pypy speedup-list-comprehension: fix name error

fijal noreply at buildbot.pypy.org
Sun Feb 26 05:02:46 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: speedup-list-comprehension
Changeset: r52911:4269c3b7dcf0
Date: 2012-02-25 20:02 -0800
http://bitbucket.org/pypy/pypy/changeset/4269c3b7dcf0/

Log:	fix name error

diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py
--- a/pypy/interpreter/pyopcode.py
+++ b/pypy/interpreter/pyopcode.py
@@ -720,7 +720,7 @@
         try:
             lgt = self.space.len_w(last_val)
         except OperationError, e:
-            if e.async(space):
+            if e.async(self.space):
                 raise
             lgt = 0 # oh well
         self.pushvalue(self.space.newlist([], sizehint=lgt))


More information about the pypy-commit mailing list