
June 12, 2003
2:27 p.m.
OK, so it worked. It doesn't work in 2.3. But something else might work.
My question was whether it would work with a *C* subclass of ModuleType. In which case, presumably C code could set the type after initializing the sys module.
Right, this could work (even though in 2.3, the module type is no longer subclassable). --Guido van Rossum (home page: http://www.python.org/~guido/)