Class introspection and dynamically determining function arguments

Alex Martelli aleaxit at
Sat Jan 22 06:30:36 EST 2005

Diez B. Roggisch <deetsNOSPAM at> wrote:

> Nick Coghlan wrote:
> > 
> > If this only has to work for classes created for the purpose (rather than
> > for an arbitrary class):
> Certainly a step into the direction I meant - but still missing type
> declarations. And that's what at least I'd like to see - as otherwise you
> don't know what kind of editing widget to use for a property.

Though it may be overkill for your needs, you'll be interested in
Enthought's "Traits", I think; see, for example,
<>.  Facilitating such
presentation tasks (no doubt including editing) appears to be a major
driving force for Traits.


More information about the Python-list mailing list