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

Trent Nelson report at bugs.python.org
Fri Dec 21 11:39:50 CET 2012


New submission from Trent Nelson:

Relevant thread: http://mail.python.org/pipermail/python-dev/2012-December/123225.html

PyOS_StdioReadline features numerous calls that require the GIL to be held.  Ideally, the GIL drop-take should be moved closer to the actual underlying read system call.

----------
assignee: trent
components: Interpreter Core
messages: 177874
nosy: trent
priority: normal
severity: normal
stage: needs patch
status: open
title: PyOS_Readline drops GIL and calls PyOS_StdioReadline, which isn't thread safe
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4

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


More information about the New-bugs-announce mailing list