[pypy-svn] r34603 - pypy/dist/pypy/translator/stackless

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Nov 14 17:24:52 CET 2006


Author: cfbolz
Date: Tue Nov 14 17:24:46 2006
New Revision: 34603

Modified:
   pypy/dist/pypy/translator/stackless/transform.py
Log:
fix for python2.3

Modified: pypy/dist/pypy/translator/stackless/transform.py
==============================================================================
--- pypy/dist/pypy/translator/stackless/transform.py	(original)
+++ pypy/dist/pypy/translator/stackless/transform.py	Tue Nov 14 17:24:46 2006
@@ -744,7 +744,7 @@
         if i == len(block.operations) - 1 \
                and block.exitswitch == model.c_last_exception:
             link = block.exits[0]
-            exitcases = dict.fromkeys(l.exitcase for l in block.exits)
+            exitcases = dict.fromkeys([l.exitcase for l in block.exits])
             nextblock = None
         else:
             link = support.split_block_with_keepalive(block, i+1)



More information about the Pypy-commit mailing list