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


Groups > comp.lang.python > #3118

Re: Nested inner classes and inheritance -> namespace problem

References <4DA568FE.2020300@hastings.org>
From James Mills <prologic@shortcircuit.net.au>
Date 2011-04-13 19:31 +1000
Subject Re: Nested inner classes and inheritance -> namespace problem
Newsgroups comp.lang.python
Message-ID <mailman.306.1302687095.9059.python-list@python.org> (permalink)

Show all headers | 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


Thread

Re: Nested inner classes and inheritance -> namespace problem James Mills <prologic@shortcircuit.net.au> - 2011-04-13 19:31 +1000

csiph-web