[Python-Dev] Data Descriptors on module objects (was Re: draft PEP: Trace and Profile Support for Threads)

Phillip J. Eby pje@telecommunity.com
Thu, 24 Apr 2003 22:50:49 -0400

At 10:01 PM 4/24/03 -0400, Phillip J. Eby wrote:
># named module must be importable, but not yet imported;
># parent package must be in sys.modules
>moduleFoo.__name__ = "mypackage.foo"
>sys.modules['mypacakge.foo'] =

Oops, that was supposed to read:

sys.modules['mypackage.foo'] = moduleFoo