why not extending the syntax for classes, too ?

holger krekel pyth at devel.trillke.net
Sun Feb 9 16:53:58 EST 2003


Erik Max Francis wrote:
> holger krekel wrote:
> 
> > Erik Max Francis wrote:
> >
> > > Because it means renaming what?
> > 
> > the function or class name?
> > 
> >     class checker as tracer:
> >         ...
> 
> I'm still totally confused as to how choosing "as" is renaming anything.
> We're talking about a syntax that is not yet introduced to the language.

sure.

> So if in the proposal "is" is changed to "as," nothing is actually
> changing, since nothing exists yet.  Right?

right, but we are not renaming something in a proposal (which 
doesn't exist, right) but are talking about possible ways
to spell specifications/modifications to class and/or function
objects aka 'def fun() is statismethod' etc.pp.

Or what am i not getting? 

    holger





More information about the Python-list mailing list