A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-April/023651.html below:

[Python-Dev] Making None a keyword

[Python-Dev] Making None a keyword [Python-Dev] Making None a keywordTim Peters tim.one@comcast.net
Fri, 26 Apr 2002 12:22:45 -0400
[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 <wink>).





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4