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 steve.dower
Recipients steve.dower, tim.golden, vstinner, zach.ware
Date 2015-02-12.15:53:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1423756388.69.0.952708465166.issue23314@psf.upfronthosting.co.za>
In-reply-to
Content
EBADF will still be returned; _PyVerify_fd is only there to prevent the assertion dialogs in debug builds. Release builds will not need _PyVerify_fd at all (though it's public, so it will remain, but it won't be necessary to protect calls into the CRT). As I said, there is a change coming in a CRT update that will make file calls behave more like POSIX, ie. returning EBADF instead of crashing.

See #4804 and #3545 for the discussions (and complaints) about turning off all assertion dialogs. Note that this issue only affects the dialogs in debug builds, and that for Python 3.5 we'll be making debug builds more widely available so that people can debug their extensions/hosts (see e.g. #22411).
History
Date User Action Args
2015-02-12 15:53:08steve.dowersetrecipients: + steve.dower, vstinner, tim.golden, zach.ware
2015-02-12 15:53:08steve.dowersetmessageid: <1423756388.69.0.952708465166.issue23314@psf.upfronthosting.co.za>
2015-02-12 15:53:08steve.dowerlinkissue23314 messages
2015-02-12 15:53:08steve.dowercreate