[Python-ideas] English builtins for Python

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Jun 21 05:01:22 CEST 2007


Mathias Panzenböck wrote:

> is "a" the keyword or is it "is a"?

To be practical, it would have to be a pseudo-keyword
that was only recognised after "is".

But it would be nicely perverse to make it a true
keyword. :-)

BTW, something like this actually happens in ALAN
(a language for writing interactive fiction, aka
adventure games) where you can't use "a" as part
of the player-usable name of an object, because the
command parser treats it as an indefinite article.
So your courtroom drama can't have an object that
the player refers to as "Exhibit A". "Exhibit B"
is fine, though. :-)

(This was true in Alan 2 at least -- Alan 3 might
have improved matters.)

--
Greg



More information about the Python-ideas mailing list