[Python-Dev] Making None a keyword

Michael Hudson mwh@python.net
26 Apr 2002 11:40:02 +0100


Guido van Rossum <guido@python.org> writes:

> I'd like to make None a keyword.  This prevents dumb users from
> assigning to it and screwing themselves, and can cause a slight
> speedup because using None avoids two dict lookups.

You are going to make this issue a warning in 2.3, right?

Cheers,
M.

-- 
  There are two ways of constructing a software design: one way is to
  make it so simple that there  are obviously no deficiencies and the
  other way  is to make it so complicated  that there are  no obvious
  deficiencies.                                      -- C. A. R. Hoare