'reload M' doesn't update 'from M inport *'
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Fri Jul 9 21:09:44 EDT 2010
On Fri, 09 Jul 2010 17:46:26 -0400, Terry Reedy wrote:
> On 7/9/2010 9:02 AM, Frederic Rentsch wrote:
>
>> I do 'reload (service); reload (M)'.
>> The function 'M.f' still misbehaves.
>
> Guido removed reload from 3.0 because it gave people false hopes and he
> gave up on fixing it.
It's not quite *removed*. It's just no longer a built-in:
import imp
imp.reload(spam)
--
Steven
More information about the Python-list
mailing list