reloading modules and isinstance()

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Wed Dec 5 08:18:14 EST 2007


On Tue, 04 Dec 2007 15:41:48 +0100, Diez B. Roggisch wrote:

> You just discovered one reason why reload() is a bad idea and IMHO
> shouldn't be used at all - as tempting it might be.


I disagree -- I find reload() extremely useful for interactively testing 
modules. But I would never dream of using it in production code!


-- 
Steven.



More information about the Python-list mailing list