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, mhammond
Date 2009-01-02.09:45:16
SpamBayes Score 1.3613817e-08
Marked as misclassified No
Message-id <>
In-reply-to <>
Yes, this is the biggest reason why this is required.
This, and and os.closerange().
I have browsed the CRT source and I find no way to determine if a fd is actually valid, before calling any of the functions that check for it.
Reintroducing the assertion will prevent a debug build python from passing the testsuite.
Much as I think this is useful (turning on the crt tests helped me find a couple of python bugs recently) it unfortunately needs to be off because of os.close().  All other troublesome cases (strftime(), open()) have workarounds.

Date User Action Args
2009-01-02 09:45:18kristjan.jonssonsetrecipients: + kristjan.jonsson, mhammond, amaury.forgeotdarc
2009-01-02 09:45:17kristjan.jonssonlinkissue4804 messages
2009-01-02 09:45:16kristjan.jonssoncreate