[Python-Dev] Making None a keyword (original) (raw)
Tim Peters tim.one@comcast.net
Fri, 26 Apr 2002 12:22:45 -0400
- Previous message: [Python-Dev] Making None a keyword
- Next message: [Python-Dev] Making None a keyword
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Skip Montanaro]
I doubt it's used much, but what would happen to types.NoneType? If None is a keyword, how will you generate it, or will it disappear when that happens?
I don't see the problem here. It's currently generated via
NoneType = type(None)
and don't see why that would need to change. Use of 'None" in "rvalue" contexts couldn't be outlawed (what Guido called "except in expressions", in the futile hope that it would be clear ).
- Previous message: [Python-Dev] Making None a keyword
- Next message: [Python-Dev] Making None a keyword
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]