[Python-Dev] Making None a keyword (original) (raw)

Guido van Rossum guido@python.org
Fri, 26 Apr 2002 12:30:32 -0400


In that case there's really no point to changing the grammar now either, right? This is a context-sensitive warning. In that case, I'd like us to start warning about (at least) "non-expression" uses of 'True' and 'False' too. That is, if we can't change the generated code yet anyway, we may as well start warning about everything we intend to make keywords someday. The same context-senstive checks are needed for each such name.

Good point.

Same question. Any takers?

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