Amaury Forgeot d'Arc added the comment:

Doh, you're right:
> c:\python24\pythonw -c "import sys;print sys.stderr.fileno()"|more
-1
> c:\python24-vc8\pythonw -c "import sys;print sys.stderr.fileno()"|more
-2

/me needs to get the code of msvcrt7.

We could simply check for (fd<0) instead, but it's better to reserve
this special processing to stdin/stdout/stderr. maybe somewhere in
pythonrun.c. I'll try a patch later tonight.

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1415>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to