At 10:50 AM 6/28/04 -0400, Jim Fulton wrote: >We often want to associate data with threads. Python >manages a dictionary per-tread for this purpose, but there's >currently no way to get to this dictionary from Python. > >I propose, for 2.4, to add a get_dict method to the thread >module that will return this dictionary. This will be >implemented via a call to PyThreadState_GetDict. > >Any objections? What's wrong with using (e.g. setting attributes on) 'threading.currentThread()'? It's already implemented and available in 2.3 (and numerous prior versions).
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