A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-July/045809.html below:

[Python-Dev] Version 3 Proposal: thread-local data

[Python-Dev] Version 3 Proposal: thread-local data [Python-Dev] Version 3 Proposal: thread-local dataJim Fulton jim at zope.com
Thu Jul 1 09:34:46 EDT 2004
Samuele Pedroni wrote:
> At 16:53 30.06.2004 -0400, Jim Fulton wrote:
> 
...
> 
> what happens if there's a thread switch, to another thread using the 
> local object, here? between patching __dict__ and accessing __dict__

That's a problem, which is why I've added the use of a reentrant lock in
__getattribute__, __setattr__ and __delattr__.  I'll make an updated
version available soon.

Thanks.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4