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 kristjan.jonsson
Recipients amaury.forgeotdarc, kristjan.jonsson
Date 2009-04-16.12:51:49
SpamBayes Score 0.001458897
Marked as misclassified No
Message-id <1239886311.09.0.766793523729.issue5773@psf.upfronthosting.co.za>
In-reply-to
Content
Well, the short answer is don´t do that!

Do os.fdopen(os.fdup(2))
You are stealing the fd 2 away from stderr, then closing it, and stderr 
now holds a defunct file descriptor.
History
Date User Action Args
2009-04-16 12:51:51kristjan.jonssonsetrecipients: + kristjan.jonsson, amaury.forgeotdarc
2009-04-16 12:51:51kristjan.jonssonsetmessageid: <1239886311.09.0.766793523729.issue5773@psf.upfronthosting.co.za>
2009-04-16 12:51:49kristjan.jonssonlinkissue5773 messages
2009-04-16 12:51:49kristjan.jonssoncreate