re-importing modules

John Nagle nagle at animats.com
Mon Apr 30 20:32:20 EDT 2007


kyosohma at gmail.com wrote:

>>In addition to the warning that reload() does not recursively reload
>>modules that the reloaded module depends on, be warned that reloading a
>>module does not magically affect any functions or objects from the old
>>version that you may be holding on to.

    Maybe reloading modules should be deprecated.  The semantics
are awful, and it interferes with higher-performance implementations.

				John Nagle



More information about the Python-list mailing list