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


Groups > comp.lang.python > #54529

Re: mutlifile inheritance problem

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'explicitly': 0.05; '21,': 0.07; 'incompatible': 0.07; 'nasty': 0.07; 'mess': 0.09; 'restart': 0.09; 'runs': 0.10; '10:17': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'inheritance': 0.16; 'interpreter,': 0.16; 'reload': 0.16; 'sat,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'trying': 0.19; "python's": 0.19; 'things.': 0.19; 'appears': 0.22; '(such': 0.24; 'subject:problem': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'easier': 0.31; 'sep': 0.31; 'time;': 0.31; 'probably': 0.32; 'run': 0.32; 'received:google.com': 0.35; 'really': 0.36; 'application': 0.37; 'too': 0.37; 'level': 0.37; 'easily': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; "you're": 0.61; 'more': 0.64; 'long-term': 0.74; 'lean': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=grX5I7I87n6ytnzmNQuZaCgPTWlaX8MhbsoL7h6cHEk=; b=w8HRuSB41sgekA8SrV6tsyAiOq4D2uqx/70QnpWDwnBCSHiabgCN9J/ZeN5hTgsDWF r4CuVIlp5gynua+7kBqm5qNWLbSN2Z5JygCIrhGUAYSfRXVrghuHipqoDesGo6mhLQSl fCUMozQUqc25Yiv5w45+yWd4KiLb1YNLcNp2rOvMwKK/ME7pp9GFgUiZwZWu5/Zih5l6 ncCbNUGIGv6RQ92d0SNHgncoTTM2LWN8YU/umA8Cs7cQsX6C63o1nItf4/6ww5M1B+P6 9eA42SP1EorEsnPz5IU8lKvMgzMSqWW78DIdrslijEIyVzXgd7Qe5BLqigPXvAK824D/ oczw==
MIME-Version 1.0
X-Received by 10.58.118.130 with SMTP id km2mr9530884veb.0.1379734120663; Fri, 20 Sep 2013 20:28:40 -0700 (PDT)
In-Reply-To <de1efea0-3d84-49f2-832b-67bdadec57dc@googlegroups.com>
References <9896e047.0203211303.741f695a@posting.google.com> <de1efea0-3d84-49f2-832b-67bdadec57dc@googlegroups.com>
Date Sat, 21 Sep 2013 13:28:40 +1000
Subject Re: mutlifile inheritance problem
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.214.1379734128.18130.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1379734128 news.xs4all.nl 15919 [2001:888:2000:d::a6]:55446
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:54529

Show key headers only | 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