[New-bugs-announce] [issue1267] Py3K cannot run as ``python -S``
Brett Cannon
report at bugs.python.org
Fri Oct 12 01:02:39 CEST 2007
New submission from Brett Cannon:
If Py3K is executed without importing site, it fails horribly. This is
because site.py sets __builtins__.open, sys.stdout, sys.stderr, and
sys.stdin.
The setting of sys.stderr is especially bad as exception printing
requires sys.stderr, otherwise it reports that sys.stderr was lost.
This prevents debugging any exceptions thrown when site.py isn't/can't
be imported (e.g., trying to debug bootstrapping importlib).
----------
components: Interpreter Core
keywords: py3k
messages: 56350
nosy: brett.cannon
severity: normal
status: open
title: Py3K cannot run as ``python -S``
versions: Python 3.0
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1267>
__________________________________
More information about the New-bugs-announce
mailing list