[Python-Dev] Data Descriptors on module objects (was Re: draft PEP: Trace and Profile Support for Threads) (original) (raw)
Phillip J. Eby pje@telecommunity.com
Thu, 24 Apr 2003 22:50:49 -0400
- Previous message: [Python-Dev] Data Descriptors on module objects (was Re: draft PEP: Trace and Profile Support for Threads)
- Next message: [Python-Dev] Metatype conflict among bases?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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'] = reload(moduleFoo)
Oops, that was supposed to read:
sys.modules['mypackage.foo'] = moduleFoo
- Previous message: [Python-Dev] Data Descriptors on module objects (was Re: draft PEP: Trace and Profile Support for Threads)
- Next message: [Python-Dev] Metatype conflict among bases?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]