[pypy-svn] r47011 - pypy/dist/pypy/bin

pedronis at codespeak.net pedronis at codespeak.net
Sat Sep 29 12:29:15 CEST 2007


Author: pedronis
Date: Sat Sep 29 12:29:14 2007
New Revision: 47011

Modified:
   pypy/dist/pypy/bin/py.py
Log:
redo xoraxax cleanup



Modified: pypy/dist/pypy/bin/py.py
==============================================================================
--- pypy/dist/pypy/bin/py.py	(original)
+++ pypy/dist/pypy/bin/py.py	Sat Sep 29 12:29:14 2007
@@ -73,11 +73,8 @@
     space = option.make_objspace(config)
 
     space._starttime = starttime
-    #assert 'pypy.tool.udir' not in sys.modules, (
-    #    "running py.py should not import pypy.tool.udir, which is\n"
-    #    "only for testing or translating purposes.")
-    # ^^^ _socket and other rctypes-based modules need udir
-    space.setitem(space.sys.w_dict,space.wrap('executable'),space.wrap(argv[0]))
+    space.setitem(space.sys.w_dict, space.wrap('executable'),
+                  space.wrap(argv[0]))
 
     # store the command-line arguments into sys.argv
     go_interactive = interactiveconfig.interactive



More information about the Pypy-commit mailing list