1. Dario Bertini
  2. another-pypy

Commits

Michael Hudson-Doyle  committed 7632209

add an "import sys"

  • Participants
  • Parent commits 0e11d97
  • Branches default

Comments (0)

Files changed (1)

File pypy/objspace/std/cpythonobject.py

View file
  • Ignore whitespace
 from pypy.objspace.std.objspace import *
 from stringobject import W_StringObject
 
-
 class W_CPythonObject:
     "Temporary class!  This one wraps *any* CPython object."
 
     try:
         result = apply(callable, args)
     except:
+        import sys
         raise OperationError(*sys.exc_info()[:2])
     return space.wrap(result)