Simplifying anonymous inner classes?

Duncan Booth duncan.booth at invalid.invalid
Sat Nov 1 08:24:56 EDT 2008


Tim Chase <python.list at tim.thechases.com> wrote:

> PS: part of the aim is to have properties that can be discovered 
> through introspection, know how to provide help on themselves, 
> and have a protocol for parameter-discovery for the __call__ method.
> 

Without a more concrete example it is hard to tell what you are trying to 
achieve. Python already allows you to discover methods and properties 
through instrospection, a standard method for them to provide help on 
themselves and standard ways to inspect parameters. Are you adding some 
value or just inventing a wheel with more sides?



More information about the Python-list mailing list