[Python-checkins] python/dist/src/Misc NEWS,1.433,1.434
rhettinger@users.sourceforge.net
rhettinger@users.sourceforge.net
Mon, 24 Jun 2002 17:25:32 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv8578/Misc
Modified Files:
NEWS
Log Message:
Fix SF bug 546434 -- buffer slice type inconsistent.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.433
retrieving revision 1.434
diff -C2 -d -r1.433 -r1.434
*** NEWS 21 Jun 2002 01:29:25 -0000 1.433
--- NEWS 25 Jun 2002 00:25:30 -0000 1.434
***************
*** 7,10 ****
--- 7,15 ----
Core and builtins
+ - Slices and repetitions of buffer objects now consistently return
+ a string. Formerly, strings would be returned most of the time,
+ but a buffer object would be returned when the repetition count
+ was one or when the slice range was all inclusive.
+
- The __slots__ variable can now mention "private" names, and the
right thing will happen (e.g. __slots__ = ["__foo"]).