This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jcbollinger
Recipients asvetlov, jcbollinger, ned.deily, r.david.murray
Date 2012-06-08.18:14:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339179246.76.0.0825739737479.issue14390@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, I have basically made tkinter's Tcl lock into an Rlock.  With respect to Python3's Rlock implementation, though, are you talking about what I see in Modules/_threadmodule.c?  Even if it would be acceptable to make the tkinter module depend on the thread module (not clear), I don't think I can easily use that because it looks like all the relevant functions are static, in typical extension module fashion.  In other words, it provides only a Python API, not a C API.  Moreover, the current implementation can easily be backported to Python 2, but that would not be true of an implementation based on the thread module's Rlock.  If you would nevertheless prefer that the thread module's Rlock be used then I would appreciate technical suggestions for how to overcome the lack of a C API.

I am content to comply with the PSF copyright marking policy.  Is it documented somewhere?  My understanding is that my copyright does not depend in any way on marking the work -- at least in the US -- but there are other reasons to prefer to mark.  Anyway, show me the policy or else just confirm that it is to not mark in cases such as this, and I will remove it.

Tkinter threading and re-entrancy issues have been somewhat of a sore spot for a very long time, so I think this change is worth calling out.  Nevertheless, if Raymund disagrees then so be it.

Thanks
History
Date User Action Args
2012-06-08 18:14:06jcbollingersetrecipients: + jcbollinger, ned.deily, r.david.murray, asvetlov
2012-06-08 18:14:06jcbollingersetmessageid: <1339179246.76.0.0825739737479.issue14390@psf.upfronthosting.co.za>
2012-06-08 18:14:06jcbollingerlinkissue14390 messages
2012-06-08 18:14:05jcbollingercreate