[pypy-svn] r17345 - pypy/dist/pypy/interpreter/astcompiler

ac at codespeak.net ac at codespeak.net
Thu Sep 8 10:06:45 CEST 2005


Author: ac
Date: Thu Sep  8 10:06:45 2005
New Revision: 17345

Modified:
   pypy/dist/pypy/interpreter/astcompiler/pycodegen.py
Log:
Another SomeObjeect() gone!

Modified: pypy/dist/pypy/interpreter/astcompiler/pycodegen.py
==============================================================================
--- pypy/dist/pypy/interpreter/astcompiler/pycodegen.py	(original)
+++ pypy/dist/pypy/interpreter/astcompiler/pycodegen.py	Thu Sep  8 10:06:45 2005
@@ -1056,8 +1056,7 @@
         elif node.flags == 'OP_DELETE':
             self.emit('DELETE_SLICE+%d' % slice)
         else:
-            print "weird slice", node.flags
-            raise
+            assert False, "weird slice %s" % node.flags
 
     def visitSubscript(self, node, aug_flag=0):
         node.expr.accept( self )



More information about the Pypy-commit mailing list