Comment on PEP-0238

John Roth johnroth at ameritech.net
Sat Jul 7 20:04:20 EDT 2001


"Guido van Rossum" <guido at python.org> wrote in message
news:cp8zi0k3kq.fsf at cj20424-a.reston1.va.home.com...
> Skip Montanaro <skip at pobox.com> writes:
>
> >     Guido> (Hm.  For various reasons I'm very tempted to introduce
'yield'
> >     Guido> as a new keyword without warnings or future statements in
Python
> >     Guido> 2.2, so maybe I should bite the bullet and add 'div' as
well...)
> >
> >     C//> If one is going to add keywords to a language, I suggest that a
> >     C//> list of possible future keywords -- even ones that aren't
planned
> >     C//> on being supported any time soon -- be reserved at the same
time.
> >
> > And that warnings be issued for their use for at least one version.
>
> Good idea.  I'd have to fire up my time machine to figure out which
> keywords will be used in the future though, and I'm not sure how
> successful that would be.  C tried this and had a few unused reserved
> words (I recall 'fortran') for years until they threw them out.

Simple enough. Add them when the related PEP goes into the active list, and
drop them when the PEP dies. It's an ongoing process, not a once a decade
standards activity, after all.

John Roth
>
> --Guido van Rossum (home page: http://www.python.org/~guido/)





More information about the Python-list mailing list