Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3118
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <prologic@shortcircuit.net.au> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'wed,': 0.04; 'classes.': 0.05; 'received:209.85.213.46': 0.07; 'received:mail- yw0-f46.google.com': 0.07; 'to:name:python list': 0.09; 'pm,': 0.11; 'wrote:': 0.14; 'nesting': 0.16; 'subject:classes': 0.16; 'modules': 0.20; 'header:In-Reply-To:1': 0.22; 'received:209.85.213': 0.23; "didn't": 0.25; 'subject:problem': 0.25; 'classes': 0.26; 'message-id:@mail.gmail.com': 0.28; 'problem': 0.29; 'opposed': 0.29; 'probably': 0.30; 'nested': 0.31; 'solved': 0.31; 'to:addr:python-list': 0.32; 'idea': 0.32; 'received:209.85': 0.37; 'apr': 0.38; 'received:google.com': 0.38; 'but': 0.38; 'to:addr:python.org': 0.39; 'could': 0.39; 'received:209': 0.39; 'how': 0.39; "it's": 0.40; 'header:Received:5': 0.40; '13,': 0.60; '2011': 0.62; 'here': 0.65 |
| MIME-Version | 1.0 |
| In-Reply-To | <4DA568FE.2020300@hastings.org> |
| References | <4DA568FE.2020300@hastings.org> |
| From | James Mills <prologic@shortcircuit.net.au> |
| Date | Wed, 13 Apr 2011 19:31:13 +1000 |
| Subject | Re: Nested inner classes and inheritance -> namespace problem |
| To | python list <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.306.1302687095.9059.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1302687095 news.xs4all.nl 81476 [::ffff:82.94.164.166]:41461 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:3118 |
Show key headers only | View raw
On Wed, Apr 13, 2011 at 7:12 PM, Larry Hastings <larry@hastings.org> wrote: > Yes, I could make the problem go away if I didn't have nested inner classes > like this. But I like this structure. Any idea how I can make it work > while preserving the nesting and inheritance? It's probably better to make use of modules here as opposed to nesting classes. cheers James -- -- James Mills -- -- "Problems are solved by method"
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Nested inner classes and inheritance -> namespace problem James Mills <prologic@shortcircuit.net.au> - 2011-04-13 19:31 +1000
csiph-web