2009/10/7 Antoine Pitrou <[email protected]>:
> Python 3 complains at startup and is a bit more explicit:
>
> $ ./python -c '1' >&-
> Fatal Python error: Py_Initialize: can't initialize sys standard streams
> OSError: [Errno 9] Bad file descriptor
> Abandon
>
> Of course, if it is stderr that you explicitly close, you lose all reporting:
>
> $ ./python -c '1' 2>&-
> Abandon

Hmm, how does Python 3's pythonw work on Windows? (I don't have a
Windows installation of Python 3 to hand at the moment)

Paul
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to