[issue23524] Use _set_thread_local_invalid_parameter_handler in posixmodule

STINNER Victor report at bugs.python.org
Fri Feb 27 16:58:01 CET 2015


STINNER Victor added the comment:

I don't understand the issue, can you please elaborate?

Can you please give an example of code which raise the bug, explain the behaviour on VS < 2015 and the behaviour on VS > 2015?

I don't understand why changes are restricted to posixmodule.c. Much more code manipulates file descriptors.

If Microsoft chose to kill a process when you pass an invalid file descriptor, why should Python behave differently? Is it only for Python unit test? If the problem only occurs with unit tests, why not only changing the behaviour with test.support.SuppressCrashReporter?

----------

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


More information about the Python-bugs-list mailing list