[Python-checkins] python/nondist/peps pep-0283.txt,1.15,1.16

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Thu, 15 Aug 2002 19:31:10 -0700


Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv16665

Modified Files:
	pep-0283.txt 
Log Message:
Test for assignment to None are easily done in the compiler.


Index: pep-0283.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0283.txt,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** pep-0283.txt	15 Aug 2002 16:50:55 -0000	1.15
--- pep-0283.txt	16 Aug 2002 02:31:08 -0000	1.16
***************
*** 76,79 ****
--- 76,81 ----
        -1, 0 or 1.  http://www.python.org/sf/472523 
  
+     - Warn for assignment to None (in various forms).
+ 
  
  Planned features for 2.3
***************
*** 200,208 ****
        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
  
--- 202,205 ----
***************
*** 210,213 ****
--- 207,213 ----
        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.