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

ac at codespeak.net ac at codespeak.net
Wed Mar 7 12:05:51 CET 2007


Author: ac
Date: Wed Mar  7 12:05:49 2007
New Revision: 40016

Modified:
   pypy/dist/pypy/bin/py.py
Log:
Remove support for PYTHONSTARTUP from untranslated py.py as it is likely
to confuse (and significantly increase startuptime) rather than help.



Modified: pypy/dist/pypy/bin/py.py
==============================================================================
--- pypy/dist/pypy/bin/py.py	(original)
+++ pypy/dist/pypy/bin/py.py	Wed Mar  7 12:05:49 2007
@@ -122,13 +122,6 @@
 
             # start the interactive console
             if go_interactive or getenv_w(space, 'PYTHONINSPECT'):
-                python_startup = getenv_w(space, 'PYTHONSTARTUP')
-                if python_startup:
-                    try:
-                        main.run_file(python_startup, space=space)
-                    except:
-                        pass
-                    
                 con = interactive.PyPyConsole(
                     space, verbose=interactiveconfig.verbose,
                     completer=interactiveconfig.completer)



More information about the Pypy-commit mailing list