[pypy-svn] r73853 - pypy/trunk/pypy/interpreter

benjamin at codespeak.net benjamin at codespeak.net
Sun Apr 18 00:22:30 CEST 2010


Author: benjamin
Date: Sun Apr 18 00:22:28 2010
New Revision: 73853

Modified:
   pypy/trunk/pypy/interpreter/pyopcode.py
Log:
wrap long lines

Modified: pypy/trunk/pypy/interpreter/pyopcode.py
==============================================================================
--- pypy/trunk/pypy/interpreter/pyopcode.py	(original)
+++ pypy/trunk/pypy/interpreter/pyopcode.py	Sun Apr 18 00:22:28 2010
@@ -253,7 +253,8 @@
                         meth = getattr(self, opdesc.methodname)
                         res = meth(oparg, next_instr)
                         if opdesc.index == self.opcodedesc.CALL_FUNCTION.index:
-                            rstack.resume_point("dispatch_call", self, co_code, next_instr, ec)
+                            rstack.resume_point("dispatch_call", self, co_code,
+                                                next_instr, ec)
                         # !! warning, for the annotator the next line is not
                         # comparing an int and None - you can't do that.
                         # Instead, it's constant-folded to either True or False
@@ -268,14 +269,18 @@
                 try:
                     meth = getattr(self, methodname)
                 except AttributeError:
-                    raise BytecodeCorruption("unimplemented opcode, ofs=%d, code=%d, name=%s" %
-                                             (self.last_instr, opcode, methodname))
+                    raise BytecodeCorruption("unimplemented opcode, ofs=%d, "
+                                             "code=%d, name=%s" %
+                                             (self.last_instr, opcode,
+                                              methodname))
                 try:
                     res = meth(oparg, next_instr)
                 except Exception:
                     if 0:
                         import dis, sys
-                        print "*** %s at offset %d (%s)" % (sys.exc_info()[0], self.last_instr, methodname)
+                        print "*** %s at offset %d (%s)" % (sys.exc_info()[0],
+                                                            self.last_instr,
+                                                            methodname)
                         try:
                             dis.dis(co_code)
                         except:



More information about the Pypy-commit mailing list