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 christian.heimes
Recipients amaury.forgeotdarc, christian.heimes, gvanrossum
Date 2007-11-12.20:57:21
SpamBayes Score 0.0016189018
Marked as misclassified No
Message-id <4738BE2F.4000000@cheimes.de>
In-reply-to <ca471dc20711121211u1934f29epb2c81559510b10da@mail.gmail.com>
Content
Guido van Rossum wrote:
> Guido van Rossum added the comment:
> 
> I don't understand. When does the difference matter?

When the check for fd < 0 is removed from fileio_init() there is no way
to tell if fd < 0 means fd closed or invalid fd.

In order to fix the problem with GUI apps on Windows the check for fd <
0 has to be removed (Python 2.x way). Or we use Amaury's way and open
NUL for reading and writing as a substitute for the standard streams.

Christian
History
Date User Action Args
2007-11-12 20:57:22christian.heimessetspambayes_score: 0.0016189 -> 0.0016189018
recipients: + christian.heimes, gvanrossum, amaury.forgeotdarc
2007-11-12 20:57:22christian.heimeslinkissue1415 messages
2007-11-12 20:57:21christian.heimescreate