Re: Getting a locked buffer from objects (PEP 3118)

2008-12-27 Thread Stefan Behnel
KKH wrote: > it seems the whole locking-theme has gone from PEP 3118 (PyBUF_LOCK is > gone). Yet the string and byte objects seem to provide locked buffers > through PyArg_Parse arguments s*, y* and z* (documentation says so). Might be a left-over. All locking the buffer interface itself provides

Getting a locked buffer from objects (PEP 3118)

2008-12-25 Thread KKH
Hi, it seems the whole locking-theme has gone from PEP 3118 (PyBUF_LOCK is gone). Yet the string and byte objects seem to provide locked buffers through PyArg_Parse arguments s*, y* and z* (documentation says so). Could someone please clarify the situation for me: Is it save to release the GIL