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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to