[pypy-svn] r13504 - pypy/dist/pypy/translator/goal

tismer at codespeak.net tismer at codespeak.net
Fri Jun 17 01:50:00 CEST 2005


Author: tismer
Date: Fri Jun 17 01:50:00 2005
New Revision: 13504

Modified:
   pypy/dist/pypy/translator/goal/targetpypymain.py
Log:
removeda bad "import *" which caused some weird objects to be
pulledinto __main__. And since I haveto pickle __main__ anyway,
this is no good.

Modified: pypy/dist/pypy/translator/goal/targetpypymain.py
==============================================================================
--- pypy/dist/pypy/translator/goal/targetpypymain.py	(original)
+++ pypy/dist/pypy/translator/goal/targetpypymain.py	Fri Jun 17 01:50:00 2005
@@ -1,6 +1,9 @@
 import os, sys
 from pypy.objspace.std.objspace import StdObjSpace
-from pypy.annotation.model import *
+# XXX from pypy.annotation.model import *
+# since we are execfile()'ed this would pull some
+# weird objects into the globals, which we would try to pickle.
+from pypy.annotation.model import SomeList, SomeString
 from pypy.annotation.listdef import ListDef
 from pypy.interpreter import gateway
 



More information about the Pypy-commit mailing list