[pypy-svn] r76121 - pypy/branch/fast-forward/pypy/interpreter/astcompiler

benjamin at codespeak.net benjamin at codespeak.net
Mon Jul 12 01:38:31 CEST 2010


Author: benjamin
Date: Mon Jul 12 01:38:28 2010
New Revision: 76121

Modified:
   pypy/branch/fast-forward/pypy/interpreter/astcompiler/symtable.py
Log:
can't iterate over tuples

Modified: pypy/branch/fast-forward/pypy/interpreter/astcompiler/symtable.py
==============================================================================
--- pypy/branch/fast-forward/pypy/interpreter/astcompiler/symtable.py	(original)
+++ pypy/branch/fast-forward/pypy/interpreter/astcompiler/symtable.py	Mon Jul 12 01:38:28 2010
@@ -441,7 +441,7 @@
         if outer.ifs:
             self.visit_sequence(outer.ifs)
         self.visit_sequence(comps[1:])
-        for item in consider:
+        for item in list(consider):
             item.walkabout(self)
         self.pop_scope()
 



More information about the Pypy-commit mailing list