A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-June/045726.html below:

[Python-Dev] Proposal: thread.get_dict

[Python-Dev] Proposal: thread.get_dict [Python-Dev] Proposal: thread.get_dictArmin Rigo arigo at tunes.org
Tue Jun 29 11:04:34 EDT 2004
Hello Jim,

On Tue, Jun 29, 2004 at 09:44:27AM -0400, Jim Fulton wrote:
> I have to say that I *really* like your suggestion of the thread.local
> object.  I'm not sure the elegance isn't worth the extra dictionary lookup.

We may have the best of both world by providing a pure Python implementation
of class Local.  If you want performance then you use [gs]et_thread_local.

For convenience, we should consider setdefault_thread_local() too...


Armin

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