[Python-Dev] Making None a keyword
Barry A. Warsaw
Fri, 26 Apr 2002 08:51:14 -0400
>>>>> "GvR" == Guido van Rossum <email@example.com> writes:
GvR> I just realized there's another use for None as an identifier
GvR> that is currently totally legal and which would become
GvR> illegal: it's conceivable that someone would use None as an
GvR> attribute name, e.g.
| class C:
| def None(self): pass
That reminds me, I wonder if we should dust off the old Jython idea of
allowing keywords in locations where their non-keywordness is obvious?