[Python-Dev] Revised Proposal: thread.get_dict

Phillip J. Eby pje at telecommunity.com
Wed Jun 30 12:56:49 EDT 2004

At 12:24 PM 6/30/04 -0400, Jim Fulton wrote:
>Tim Peters wrote:
>>It's probably better to add this to the (coded in Python) threading
>>module, and include the Python implementation there.  The threading
>>module can replace the Python implementation with something from the
>>(coded in C) thread module if possible.  This is so implementations
>>other than CPython get something usable right away (only CPython has
>>the C API, of course).
>So the C implementation would be in the thread module, perhaps
>under a funny name, but the official place to import it from is the
>threading module?

I'd like to add that there should also be corresponding implementations for 
the dummy_thread and dummy_threading modules, which should be 
interface-compatible with the corresponding non-dummy modules.

More information about the Python-Dev mailing list