[Python-Dev] Making None a keyword

Skip Montanaro skip@pobox.com
Fri, 26 Apr 2002 12:39:19 -0500


    Tim> I don't see the problem here.  It's currently generated via

    Tim>     NoneType = type(None)

duh...  Sorry, my bad.

Use of the term "keyword" was causing my sleep-deprived brain to think it
couldn't be used in expressions.  Obviously, that's not the case.  All the
current keywords in the language either identify statements statements (def,
print, continue) or operators (or, and, in).  Elevating "None" to keyword
status would create a third type keyword.  Maybe it should be referred to as
a "reserved identifier" or something like that.

Skip