Odd behavior with imp.reload and logging
Andrew Berg
bahamutzero8825 at gmail.com
Thu Sep 22 00:47:55 EDT 2011
On 2011.09.21 11:22 PM, Steven D'Aprano wrote:
> You could
> try something like this (untested):
That works. Thanks!
This makes me wonder what else stays around after a reload and what side
effects there are, though. I would really like to purge everything from
the previous import. The main program has no dependence on the module
whatsoever.
--
CPython 3.2.2 | Windows NT 6.1.7601.17640 | Thunderbird 6.0.2
More information about the Python-list
mailing list