Kristján Valur Jónsson <krist...@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 threads.

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4804>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to