This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author meador.inge
Recipients Arfrever, christian.heimes, eric.araujo, meador.inge, ncoghlan, pitrou
Date 2012-12-30.16:24:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356884677.93.0.0199799487677.issue16804@psf.upfronthosting.co.za>
In-reply-to
Content
Yeah, it is a result of the fix for issue11591 (changeset a364719e400a).  Incidentally, the decision was made to forgo writing a testcase in favor of proof by inspection :-)

There are also other consequences of that change:

   ./python.exe -S
   Python 3.4.0a0 (default:08c215115842, Dec 30 2012, 09:54:54) 
   [GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.65))] on darwin
   >>> import site
   >>> quit()
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   NameError: name 'quit' is not defined
   >>> ^D

'quit' not being defined in this case is a regression.

ISTM the original change was meant to only prevent sys.path from being altered, but it is preventing a bunch of other things (USER_BASE, USER_SITE, quit, ...) from being initialized as well.
History
Date User Action Args
2012-12-30 16:24:37meador.ingesetrecipients: + meador.inge, ncoghlan, pitrou, christian.heimes, eric.araujo, Arfrever
2012-12-30 16:24:37meador.ingesetmessageid: <1356884677.93.0.0199799487677.issue16804@psf.upfronthosting.co.za>
2012-12-30 16:24:37meador.ingelinkissue16804 messages
2012-12-30 16:24:37meador.ingecreate