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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, christian.heimes, gvanrossum
Date 2007-11-12.15:28:09
SpamBayes Score 0.008352073
Marked as misclassified No
Message-id <1194881290.09.0.418996017574.issue1415@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2007-11-12 15:28:10amaury.forgeotdarcsetspambayes_score: 0.00835207 -> 0.008352073
recipients: + amaury.forgeotdarc, gvanrossum, christian.heimes
2007-11-12 15:28:10amaury.forgeotdarcsetspambayes_score: 0.00835207 -> 0.00835207
messageid: <1194881290.09.0.418996017574.issue1415@psf.upfronthosting.co.za>
2007-11-12 15:28:10amaury.forgeotdarclinkissue1415 messages
2007-11-12 15:28:09amaury.forgeotdarccreate