trouble with reload

Gabriel Genellina gagsl-py2 at
Fri Aug 14 11:32:25 CEST 2009

En Fri, 14 Aug 2009 05:34:52 -0300, Steven D'Aprano  
<steve at> escribió:
> On Fri, 14 Aug 2009 13:49:19 +0900, Terry Reedy wrote:

>> Besides the other answers, do not use reload. It is removed in Py3
>> because it cannot be made to work as people reasonably expect.
> That's a damn shame, because it is very useful for interactive use once
> you get it's quirks. Is it gone-gone or just removed from built-ins?

Just relocated:

p3> import imp
p3> imp.reload
<built-in function reload>

Gabriel Genellina

More information about the Python-list mailing list