[Python-checkins] CVS: python/dist/src/Misc NEWS,1.240,1.241
Tim Peters
tim_one@users.sourceforge.net
Wed, 12 Sep 2001 16:40:31 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv31516/python/Misc
Modified Files:
NEWS
Log Message:
Added items about significant subclass bugfixes.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.240
retrieving revision 1.241
diff -C2 -d -r1.240 -r1.241
*** NEWS 2001/09/11 23:18:51 1.240
--- NEWS 2001/09/12 23:40:29 1.241
***************
*** 4,7 ****
--- 4,17 ----
Core
+ - In 2.2a3, hash() applied to an instance of a subclass of str or unicode
+ always returned 0. This has been repaired.
+
+ - In 2.2a3, an operation on an instance of a subclass of an immutable type
+ (int, long, float, complex, tuple, str, unicode), where the subtype
+ didn't override the operation (and so the operation was handled by the
+ builtin type), could return that instance instead a value of the base
+ type. For example, if s was of a str sublass type, s[:] returned s
+ as-is. Now it returns a str with the same value as s.
+
Library