[Python-checkins] python/dist/src/Misc NEWS,1.566,1.567
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Mon, 23 Dec 2002 08:35:28 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv23878
Modified Files:
NEWS
Log Message:
Add warning for assignment to None, True and False. This is patch
549213 by Jeremy (checking in for him since he's away and busy).
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.566
retrieving revision 1.567
diff -C2 -d -r1.566 -r1.567
*** NEWS 23 Dec 2002 11:25:49 -0000 1.566
--- NEWS 23 Dec 2002 16:35:23 -0000 1.567
***************
*** 85,88 ****
--- 85,92 ----
-----------------
+ - Assignment to None has long been frowned upon. Now there's a
+ warning message when you do this. It also warns against assignment
+ to True or False.
+
- A frame object's f_lineno attribute can now be written to from a
trace function to change which line will execute next. A command to