Message 80865 - Python tracker
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.