[issue4804] Python on Windows disables all C runtime library assertions
Kristján Valur Jónsson
report at bugs.python.org
Sat Jan 31 11:47:52 CET 2009
Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:
I think we ought to make sure that python doesn't crash, even if one
passes a bogus fd to os.closerange().
My current patch catches all invalid arguments in software, except for
the file descriptors sometimes allowed.
To that end, I suggest my current granular CrtSetDebugMode method, as
currently implemented in the latest patch.
Martin has yet to comment on it. Although he was right that a previous
version was flawed, I think I've cracked it this time, WRT proper
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list