Message178585
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. |
|
Date |
User |
Action |
Args |
2012-12-30 16:24:37 | meador.inge | set | recipients:
+ meador.inge, ncoghlan, pitrou, christian.heimes, eric.araujo, Arfrever |
2012-12-30 16:24:37 | meador.inge | set | messageid: <1356884677.93.0.0199799487677.issue16804@psf.upfronthosting.co.za> |
2012-12-30 16:24:37 | meador.inge | link | issue16804 messages |
2012-12-30 16:24:37 | meador.inge | create | |
|