From 5864ffa4e779d54d79c1cb626ccd56f7d7f52c71 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 16 Aug 2002 02:31:08 +0000 Subject: [PATCH] Test for assignment to None are easily done in the compiler. --- pep-0283.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pep-0283.txt b/pep-0283.txt index 478578f26..b18aa26bf 100644 --- a/pep-0283.txt +++ b/pep-0283.txt @@ -75,6 +75,8 @@ Completed features for 2.3 - Warn when an extension type's tp_compare returns anything except -1, 0 or 1. http://www.python.org/sf/472523 + - Warn for assignment to None (in various forms). + Planned features for 2.3 @@ -199,17 +201,15 @@ Features unlikely to make it into Python 2.3 http://www.python.org/sf/558745 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 I haven't had the time to review this thoroughly. It seems a deep optimization hack (also makes better correctness guarantees though). + - Make 'as' a keyword. It has been a pseudo-keyword long enough. + Too much effort to bother. + Copyright