[Python-Dev] Release or not release the GIL (original) (raw)
Victor Stinner victor.stinner at gmail.com
Fri Feb 1 01:07:16 CET 2013
- Previous message: [Python-Dev] cpython (2.7): - Issue #17086: Backport thepatches from the 3.3 branch to cross-build
- Next message: [Python-Dev] Release or not release the GIL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
While working on the implementation of the PEP 433, I saw different places where Python asks for operating resources without releasing the GIL.
In my implementation, I released the GIL in the following places. Is it correct?
- os.dup()
- os.dup2()
- os.pipe()
- socket.socketpair()
os.listdir() releases the GIL to call dup(), whereas os.dup() doesn't.
Victor
- Previous message: [Python-Dev] cpython (2.7): - Issue #17086: Backport thepatches from the 3.3 branch to cross-build
- Next message: [Python-Dev] Release or not release the GIL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]