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


Groups > comp.lang.python > #52711

Re: refresing the edited python function

Path csiph.com!usenet.pasdenom.info!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'modified': 0.07; 'test,': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'restart': 0.09; 'python': 0.11; 'finney': 0.16; 'once.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:python': 0.16; ':-)': 0.16; 'do,': 0.16; 'module': 0.19; 'machine': 0.22; 'header:User-Agent:1': 0.23; 'developers': 0.25; 'header:X-Complaints-To:1': 0.27; 'function': 0.29; 'wonder': 0.29; 'errors': 0.30; 'code': 0.31; 'writes:': 0.31; 'file': 0.32; 'run': 0.32; 'text': 0.33; 'running': 0.33; 'subject:the': 0.34; 'editor': 0.35; 'should': 0.36; 'ben': 0.38; 'to:addr:python- list': 0.38; 'expect': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'hope': 0.61; 'skip:n 10': 0.64; 'confirm': 0.64; 'more': 0.64; '8bit%:21': 0.69; 'day': 0.76; '\xe2\x80\x93': 0.77; 'religion': 0.84; 'suspicion': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ben Finney <ben+python@benfinney.id.au>
Subject Re: refresing the edited python function
Date Tue, 20 Aug 2013 11:09:37 +1000
References <1376873736.85790.YahooMailNeo@web193402.mail.sg3.yahoo.com> <87haemjj92.fsf@handshake.de> <1376897267.58372.YahooMailNeo@web193402.mail.sg3.yahoo.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Gmane-NNTP-Posting-Host rasputin.madmonks.org
X-Public-Key-ID 0xBD41714B
X-Public-Key-Fingerprint 9CFE 12B0 791A 4267 887F 520C B7AC 2E51 BD41 714B
X-Public-Key-URL http://www.benfinney.id.au/contact/bfinney-gpg.asc
X-Post-From Ben Finney <bignose+hates-spam@benfinney.id.au>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
Cancel-Lock sha1:iAlGFh4/7KDfo/QjHYGdjxwF48s=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.44.1376960991.19984.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1376960991 news.xs4all.nl 15996 [2001:888:2000:d::a6]:54321
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:52711

Show key headers only | View raw


Sudheer Joseph <sudheer.joseph@yahoo.com> writes:

> I wonder how the code developers work in this case every time a
> function is modified one has to restart the console is a nightmare...

Developers use the interactive console for exploring, not developing.

Use it to test, to confirm a suspicion about what a function call might
do, to write code you know you will not run more than once.

Any code you suspect might persist – and if you don't know, expect that
it might persist – you should be writing in a module file and running as
a program.

> Hope one day some solution will be evolved.

The time machine has brought you the solution: a text editor and the
Python non-interactive session :-)

-- 
 \          “Generally speaking, the errors in religion are dangerous; |
  `\    those in philosophy only ridiculous.” —David Hume, _A Treatise |
_o__)                                           of Human Nature_, 1739 |
Ben Finney

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: refresing the edited python function Ben Finney <ben+python@benfinney.id.au> - 2013-08-20 11:09 +1000
  Re: refresing the edited python function Roy Smith <roy@panix.com> - 2013-08-19 21:39 -0400

csiph-web