Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #3750

Re: who moved reload?

Subject Re: who moved reload?
From mark <harrismh777@charter.net>
References <Obcnp.2676$Ot6.788@newsfe15.iad> <BANLkTik0kc9V+Tq8cpNEQ=a_CJfzULEPaw@mail.gmail.com>
Organization home
Date 2011-04-20 15:09 -0500
Newsgroups comp.lang.python
Message-ID <mailman.671.1303331947.9059.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, 2011-04-19 at 12:41 -0400, Calvin Spealman wrote:
> I have a great solution : stop using reload. It often dangerous and
> more often silly. 
> 

Yeah, I'm there. Some of this is just learning a new way of thinking
about the language. I can see that not using reload at all makes more
sense (Run --> Run Module) from the editor window which does what I want
with a mouse click... so I'm done with reload...

In the past I didn't use IDLE... just vi, reload(yadda yadda) in the
terminal, repeat till bored. There were some inconsistencies with 
from yadda yadda import *...  and it seems that reload was deliberately
hidden in imp to solve some of that problem. And we can still use
imp.reload() to reload the module without stopping the interpreter, so
all is good.   

Thanks.



-- 
Kind regards,
M Harris

Back to comp.lang.python | Previous | Next | Find similar


Thread

Re: who moved reload? mark <harrismh777@charter.net> - 2011-04-20 15:09 -0500

csiph-web