[Python-Dev] New Super PEP

Armin Rigo arigo at tunes.org
Sun Apr 29 20:50:12 CEST 2007


Hi Calvin,

On Sat, Apr 28, 2007 at 10:43:04PM -0400, Calvin Spealman wrote:
> The proposal adds a dynamic attribute lookup to the super type, which will
> automatically determine the proper class and instance parameters.

Can you describe how you intend the dynamic attribute lookup to find the
proper class?  Is it related to your proposal to add a new attribute
'__super__' to each class?  If so, I don't see how...  and if not, can
you explain why you need '__super__' then?


A bientot,

Armin.


More information about the Python-Dev mailing list