From: SourceForge.net <no...@so...> - 2007-12-12 09:42:41
|
Bugs item #1721204, was opened at 2007-05-18 04:45 Message generated for change (Comment added) made by cgroves You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1721204&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Library Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Irmen de Jong (irmen) Assigned to: Nobody/Anonymous (nobody) Summary: there is no threading.local() Initial Comment: The threading module lacks the 'threading.local' type. This was introduced in Python 2.4 to be able to create thread-local variables. ---------------------------------------------------------------------- >Comment By: Charles Groves (cgroves) Date: 2007-12-12 04:42 Message: Logged In: YES user_id=1174327 Originator: NO Added to trunk in 3801. ---------------------------------------------------------------------- Comment By: Mehendran (mehendran) Date: 2007-12-07 10:11 Message: Logged In: YES user_id=1831942 Originator: NO Patch for this bug is attached with ID [ 1846247 ]. ---------------------------------------------------------------------- Comment By: Mehendran (mehendran) Date: 2007-11-29 05:24 Message: Logged In: YES user_id=1831942 Originator: NO I am looking at this bug. I will come with the patch soon. ---------------------------------------------------------------------- Comment By: howard kapustein (hsk0) Date: 2007-05-20 14:45 Message: Logged In: YES user_id=16060 Originator: NO Also, since threading.local appeared in CPython 2.4 and Jython 2.2 is CPython 2.2ish (ish; some 2.3+ features are present) and the official word, last I recall, was Jython 2.2 == CPython 2.2/2.3, threading.local's absence should be unsurprising. The Jython roadmap should clearly spell out when CPython 2.4 features will appear (I forget if it's v.next or after). ---------------------------------------------------------------------- Comment By: Alan Kennedy (amak) Date: 2007-05-19 07:04 Message: Logged In: YES user_id=647684 Originator: NO Currently, there is no "official" support for thread-locals in jython. But there is a simple workaround to get thread-local support on jython 2.2; I've written it up on this wiki page http://wiki.python.org/jython/ThreadLocalVariables That should get you up and running until jython has explicit support for thread-locals. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1721204&group_id=12867 |