Test for assignment to None are easily done in the compiler.

This commit is contained in:
Guido van Rossum 2002-08-16 02:31:08 +00:00
parent b061a91037
commit 5864ffa4e7
1 changed files with 5 additions and 5 deletions

View File

@ -75,6 +75,8 @@ Completed features for 2.3
- Warn when an extension type's tp_compare returns anything except - Warn when an extension type's tp_compare returns anything except
-1, 0 or 1. http://www.python.org/sf/472523 -1, 0 or 1. http://www.python.org/sf/472523
- Warn for assignment to None (in various forms).
Planned features for 2.3 Planned features for 2.3
@ -199,17 +201,15 @@ Features unlikely to make it into Python 2.3
http://www.python.org/sf/558745 http://www.python.org/sf/558745
Not much enthusiasm I believe. Not much enthusiasm I believe.
- Making None a keyword. Can't be done right away, but a warning
would be a first step.
http://mail.python.org/pipermail/python-dev/2002-April/023600.html
Ditto for 'as', which has been a pseudo-keyword long enough.
- PEP 286 Enhanced Argument Tuples von Loewis - PEP 286 Enhanced Argument Tuples von Loewis
I haven't had the time to review this thoroughly. It seems a I haven't had the time to review this thoroughly. It seems a
deep optimization hack (also makes better correctness guarantees deep optimization hack (also makes better correctness guarantees
though). though).
- Make 'as' a keyword. It has been a pseudo-keyword long enough.
Too much effort to bother.
Copyright Copyright