[New-bugs-announce] [issue27533] release GIL in nt._isdir

Jeremy Spiegel report at bugs.python.org
Sat Jul 16 16:13:54 EDT 2016


New submission from Jeremy Spiegel:

In Modules/posixmodule.c, the function os__isdir_impl calls GetFileAttributesA/GetFileAttributesW without releasing the GIL. This is problematic since it can result in disk or network I/O, depending on the filesystem.

----------
components: Library (Lib)
files: _isdir.patch
keywords: patch
messages: 270583
nosy: jeremyspiegel
priority: normal
severity: normal
status: open
title: release GIL in nt._isdir
Added file: http://bugs.python.org/file43755/_isdir.patch

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


More information about the New-bugs-announce mailing list