The main problem are references to objects within a module, because we can NEVER be sure there aren't any, even though we cleaned up everything, that's just a consequence of Python nature. We can keep the old objects referenced and it would make an equivalent to the reload() builting, just without loading the module, in effect the same as removing it from sys.modules and deleting imported references. I do not see any possibe clean way to unload a module...
On Ne, kvě 11, 2008 at 10:02:15 +0200, [EMAIL PROTECTED] wrote: > We should have that statement, so that problems, expressed in > http://groups.google.com/group/comp.lang.python/browse_thread/thread/3bda1fc4895ec886/bc5fe40cfbd10124?lnk=raot#bc5fe40cfbd10124, > would not occur. -- http://mail.python.org/mailman/listinfo/python-list