[issue10637] Calling CloseHandle twice (Modules/posixmodule.c)

Martin v. Löwis report at bugs.python.org
Mon Dec 6 08:35:43 CET 2010


Martin v. Löwis <martin at v.loewis.de> added the comment:

quick followup: there is a chance that this closes the wrong file due to race conditions, in case a different thread opens a file in-between that gets the same handle. Due to the GIL, this is unlikely

----------

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


More information about the Python-bugs-list mailing list