Author brett.cannon
Recipients arigo, brett.cannon, gvanrossum
Date 2007-09-15.21:34:46
SpamBayes Score 0.0669998
Marked as misclassified No
Message-id <>
Since I already did this once I just did a more thorough job; patch is

PyObject_WriteString() just calls PyFile_WriteObject() which ends up
using PyObject_Print(), so it is was simple to handle those cases.  I
then released the GIL for strings, lists, and ints.  That is enough to
pass Armin's deadlock test.

If the approach I am taking is OK with people and I can go through
Object/*.c and do the proper thing for all the various object types for
fprintf(), fputs(), fputc() and fwrite() (while skipping all of the
debug output stuff) before committing the changes.
File name Uploaded
release_GIL_around_stdout.diff brett.cannon, 2007-09-15.21:34:46
Date User Action Args
2007-09-15 21:34:47brett.cannonsetspambayes_score: 0.0669998 -> 0.0669998
recipients: + brett.cannon, gvanrossum, arigo
2007-09-15 21:34:47brett.cannonsetspambayes_score: 0.0669998 -> 0.0669998
messageid: <>
2007-09-15 21:34:47brett.cannonlinkissue1164 messages
2007-09-15 21:34:46brett.cannoncreate