[issue6915] os.listdir inconsistenly releases the GIL on win32

Ryan Kelly report at bugs.python.org
Tue Sep 15 06:43:16 CEST 2009


New submission from Ryan Kelly <ryan at rfk.id.au>:

The win32 implementation of os.listdir() releases the GIL around calls
to FindNextFile, but not around calls to FindFirstFile.  Attached is a
simple patch to consistently release the GIL around any such calls.

----------
components: None
files: listdir_gil.patch
keywords: patch
messages: 92643
nosy: rfk
severity: normal
status: open
title: os.listdir inconsistenly releases the GIL on win32
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file14892/listdir_gil.patch

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


More information about the Python-bugs-list mailing list