Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.news.ox.ac.uk!news.ox.ac.uk!news.stack.nl!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'purpose.': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:module': 0.09; 'subject:Help': 0.11; 'behaviour.': 0.16; 'finney': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:class': 0.16; 'subject:which': 0.16; 'header:User-Agent:1': 0.23; 'simpler': 0.24; 'header:X-Complaints-To:1': 0.27; 'tried': 0.27; 'properties': 0.29; 'said,': 0.30; "i'm": 0.30; 'code': 0.31; 'bunch': 0.31; 'writes:': 0.31; 'maybe': 0.34; "i'd": 0.34; 'subject:from': 0.34; "can't": 0.35; 'but': 0.35; 'there': 0.35; 'described': 0.36; 'received:com.au': 0.36; 'requirements': 0.37; 'subject:new': 0.38; 'ben': 0.38; 'to:addr:python-list': 0.38; 'explain': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; "you're": 0.61; "you've": 0.63; 'personal': 0.63; 'more': 0.64; 'below.': 0.71; 'integrity': 0.74; 'special': 0.74; 'received:125': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ben Finney Subject: Re: Help creating new module which inherits existing class from another module. Date: Wed, 19 Feb 2014 16:48:34 +1100 References: <85fvng407b.fsf@benfinney.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: vmx15867.hosting24.com.au 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 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:dcU+CFhKjO5bgdjCNgSNTpXQJKI= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392788929 news.xs4all.nl 2861 [2001:888:2000:d::a6]:34925 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:66666 Jonno writes: > I tried to explain the necessary properties in the requirements below. What you've described is a bunch of abstract behaviour. But as I said, I'm suspecting this is a poor design; and I can't know better until you explain what all this is *for*. What is the purpose of the code you're writing? What is special about it that makes you think it needs the specific properties you've described? I ask all this because I suspect there are better and/or simpler ways to achieve your *actual* goals. Maybe not; but to rule that out, I'd need to know more about the purpose. -- \ “It is the integrity of each individual human that is in final | `\ examination. On personal integrity hangs humanity's fate.” | _o__) —Richard Buckminster Fuller, _Critical Path_, 1981 | Ben Finney