[Python-checkins] CVS: python/dist/src/Misc NEWS,1.122,1.123

Tim Peters tim_one@users.sourceforge.net
Sun, 18 Feb 2001 00:28:36 -0800


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv8452/python/dist/src/Misc

Modified Files:
	NEWS 
Log Message:
Bug #132921:  None treated differently in cmp() / sort() in 2.1a2.
Just mentioning that in the NEWS file.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.122
retrieving revision 1.123
diff -C2 -r1.122 -r1.123
*** NEWS	2001/02/04 22:37:56	1.122
--- NEWS	2001/02/18 08:28:33	1.123
***************
*** 184,187 ****
--- 184,194 ----
    too much code.
  
+ - The outcome of comparing non-numeric objects of differerent types is
+   not defined by the language, other than that it's arbitrary but
+   consistent (see the Reference Manual).  An implementation detail changed
+   in 2.1a1 such that None now compares less than any other object.  Code
+   relying on this new behavior (like code that relied on the previous
+   behavior) does so at its own risk.
+ 
  - Functions and methods now support getting and setting arbitrarily
    named attributes (PEP 232).  Functions have a new __dict__