mutlifile inheritance problem

Chris Angelico rosuav at gmail.com
Fri Sep 20 23:28:40 EDT 2013


On Sat, Sep 21, 2013 at 10:17 AM, Peter Cacioppi
<peter.cacioppi at 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



More information about the Python-list mailing list