[Python-Dev] New Super PEP
ironfroggy at gmail.com
Sun Apr 29 20:53:58 CEST 2007
On 4/29/07, Armin Rigo <arigo at tunes.org> wrote:
> 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?
Yes, it is highly dependent on the new __super__ attribute. See the
reference implementation for the how.
Read my blog! I depend on your acceptance of my opinion! I am interesting!
More information about the Python-Dev