[issue16742] PyOS_Readline drops GIL and calls PyOS_StdioReadline, which isn't thread safe

STINNER Victor report at bugs.python.org
Sat Jun 15 02:35:50 CEST 2013


STINNER Victor added the comment:

Updated patch for the final API of #3329. Update also the documentation. PyOS_ReadlineFunctionPointer must now use PyMem_RawMalloc() or PyMem_RawRealloc(), instead of PyMem_Malloc() or PyMem_Realloc().

----------
Added file: http://bugs.python.org/file30593/readline_gil-2.patch

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


More information about the Python-bugs-list mailing list