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


Groups > comp.lang.python > #54529

Re: mutlifile inheritance problem

References <9896e047.0203211303.741f695a@posting.google.com> <de1efea0-3d84-49f2-832b-67bdadec57dc@googlegroups.com>
Date 2013-09-21 13:28 +1000
Subject Re: mutlifile inheritance problem
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.214.1379734128.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, Sep 21, 2013 at 10:17 AM, Peter Cacioppi
<peter.cacioppi@gmail.com> wrote:
> It's too bad, I really lean on reload(). It appears to be incompatible with inheritance more than one level deep.

Python's really not designed for reload of this nature. You can easily
make a nasty mess of things. If you're working in the interactive
interpreter, it's probably easier to just run a stand-alone program
and restart it every time; if you're actually trying to have an
application that runs long-term and can reload code on the fly, you
may want to consider a language that explicitly supports that (such as
Pike).

ChrisA

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


Thread

Re: mutlifile inheritance problem Peter Cacioppi <peter.cacioppi@gmail.com> - 2013-09-20 17:17 -0700
  Re: mutlifile inheritance problem Chris Angelico <rosuav@gmail.com> - 2013-09-21 13:28 +1000

csiph-web