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


Groups > comp.lang.python > #52781 > unrolled thread

Re: refresing the edited python function

Started byChris Angelico <rosuav@gmail.com>
First post2013-08-22 04:23 +1000
Last post2013-08-22 04:23 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: refresing the edited python function Chris Angelico <rosuav@gmail.com> - 2013-08-22 04:23 +1000

#52781 — Re: refresing the edited python function

FromChris Angelico <rosuav@gmail.com>
Date2013-08-22 04:23 +1000
SubjectRe: refresing the edited python function
Message-ID<mailman.93.1377109440.19984.python-list@python.org>
On Wed, Aug 21, 2013 at 4:26 PM, Sudheer Joseph
<sudheer.joseph@yahoo.com> wrote:
>
>
> Thank you,
>                 But I wish if there was a foolproof reload
> with best regards,
> Sudheer

There isn't, any more than there's a foolproof way to prevent
top-posting. Some languages are designed to handle code reload; others
simply aren't. Python is one of the latter. And even when you're using
a language like Pike, you really have to design your application
around code reload; so it's a feature of specific apps (like MUDs)
that will be running for years on end without restarting, rather than
something that you want all the time. Otherwise, you run the risk of
having internal data structures and code out of sync - and if you're
not keeping anything significant from the previous run, then why are
you reloading code instead of restarting the app?

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web