homepage

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 eryksun
Recipients abarry, eryksun, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2016年07月01日.05:24:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1467350676.76.0.948801134496.issue27423@psf.upfronthosting.co.za>
In-reply-to
Content
test_os intentionally operates on invalid file descriptors. In the Windows CRT this leads to failed assertions, such as from its _VALIDATE_RETURN macro. This macro would also call the default invalid parameter handler, which would kill the process, but that's disabled in 3.5+ via _Py_BEGIN_SUPPRESS_IPH. That leaves the message box for failed assertions in debug builds [1]. On entry, support.SuppressCrashReport calls the CRT functions _CrtSetReportMode [2] and _CrtSetReportFile [3] to ensure that failed assertions are instead printed to stderr. These functions are available in a debug build of the msvcrt module.
[1]: https://msdn.microsoft.com/en-us/library/9sb57dw4.aspx
[2]: https://msdn.microsoft.com/en-us/library/1y71x448.aspx
[3]: https://msdn.microsoft.com/en-us/library/a68f826y.aspx 
History
Date User Action Args
2016年07月01日 05:24:36eryksunsetrecipients: + eryksun, paul.moore, vstinner, tim.golden, zach.ware, steve.dower, abarry
2016年07月01日 05:24:36eryksunsetmessageid: <1467350676.76.0.948801134496.issue27423@psf.upfronthosting.co.za>
2016年07月01日 05:24:36eryksunlinkissue27423 messages
2016年07月01日 05:24:36eryksuncreate

AltStyle によって変換されたページ (->オリジナル) /