[issue4804] Python on Windows disables all C runtime library assertions

Kristján Valur Jónsson report at bugs.python.org
Tue Jan 13 11:54:20 CET 2009


Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:

I submit to you a patch to the trunk which narrows down the problem.  In  
stead of throwing the switch for the whole process, we selectively 
disable the hard error checking for those two cases that require it:  
The file open mode string (unless we want to reimplement the crt mode 
string parser) and the posix file descriptor methods.  The remaining 
case, strftime, we fix with a proper argument checking function.

Yesterday I put in some tests in to the testsuite to excercise this 
functionality (revision 68547)

----------
keywords: +needs review, patch
stage:  -> patch review
Added file: http://bugs.python.org/file12715/crterror.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4804>
_______________________________________


More information about the Python-bugs-list mailing list