> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:python-
> [EMAIL PROTECTED] On Behalf Of John Nagle
> Sent: Monday, April 30, 2007 7:32 PM
> To: python-list@python.org
> Subject: Re: re-importing modules
> 
> [EMAIL PROTECTED] 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.
> 

I'd rather it weren't, personally.  I'm using Python with a third-party
application that provides an interactive prompt.  Removing reload()
would mean spending a good three minutes waiting for the application to
restart any time I make the slightest change in a module supporting that
application.  


---
-Bill Hamilton
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to