[New-bugs-announce] [issue1164] tp_print slots don't release the GIL

Armin Rigo report at bugs.python.org
Fri Sep 14 21:21:37 CEST 2007


New submission from Armin Rigo:

The tp_print slots, used by 'print' statements, don't release the GIL
while writing into the C-level file.  This is not only a missing
opportunity, but can cause unexpected deadlocks, as shown in the
attached file.

----------
components: Interpreter Core
files: deadlock1.py
messages: 55913
nosy: arigo
severity: normal
status: open
title: tp_print slots don't release the GIL
type: behavior

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1164>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deadlock1.py
Type: text/x-python
Size: 288 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20070914/487f9221/attachment.py 


More information about the New-bugs-announce mailing list