Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.074 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.00; 'vi,': 0.07; 'deliberately': 0.09; 'interpreter,': 0.09; 'wrote:': 0.14; '*...': 0.16; 'imp': 0.16; 'module)': 0.16; 'reload': 0.16; 'x-mailer:evolution 2.28.1': 0.16; 'tue,': 0.20; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'seems': 0.21; 'header:In- Reply-To:1': 0.22; 'cc:addr:python-list': 0.22; "didn't": 0.25; 'there.': 0.26; "i'm": 0.26; 'thanks.': 0.28; 'subject:?': 0.29; 'good.': 0.29; 'cc:addr:python.org': 0.31; 'does': 0.31; 'language.': 0.31; 'import': 0.32; 'done': 0.32; 'module': 0.33; 'thinking': 0.33; 'using': 0.34; 'received:192': 0.34; 'there': 0.35; 'editor': 0.35; 'problem.': 0.36; 'received:192.168': 0.37; 'some': 0.37; 'run': 0.37; 'received:209': 0.39; 'header:Mime- Version:1': 0.39; 'solution': 0.40; 'dangerous': 0.65; 'reply- to:no real name:2**0': 0.72; 'header:Reply-To:1': 0.72; 'calvin': 0.84; 'from:addr:charter.net': 0.84; 'received:10.20.200': 0.84; 'received:209.225': 0.84; 'received:209.225.8': 0.84; 'received:charter.net': 0.84; 'subject:moved': 0.84; 'mouse': 0.93 X-Authority-Analysis: v=1.1 cv=67PPgUc0CtgM8E27DXTM5SVmNQEiZYYnqhTvr1M71DI= c=1 sm=1 a=yUnIBFQkZM0A:10 a=_rXsIPw-VzIA:10 a=IkcTkHD0fZMA:10 a=Tr1KevX4xBBiw+eGimSZWw==:17 a=D2YuamT1zIRuEapw6o8A:9 a=dRB2nobP7UEz7dPiNSgA:7 a=QEXdDO2ut3YA:10 a=Tr1KevX4xBBiw+eGimSZWw==:117 Subject: Re: who moved reload? From: mark To: ironfroggy@gmail.com In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Organization: home Date: Wed, 20 Apr 2011 15:09:45 -0500 Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: harrismh777@charter.net List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1303331947 news.xs4all.nl 65870 [::ffff:82.94.164.166]:34057 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:3750 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