diff options
author | Raymond Hettinger <python@rcn.com> | 2002-06-25 00:25:30 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-06-25 00:25:30 (GMT) |
commit | 5a04aec384c6d8346ee31396aad08b75421efae5 (patch) | |
tree | de10182bea85a933560b84e788dc229c3d47ddc9 /Misc | |
parent | 17031bf421b21ae8b792d2b04c0ad5f997244865 (diff) | |
download | cpython-5a04aec384c6d8346ee31396aad08b75421efae5.zip cpython-5a04aec384c6d8346ee31396aad08b75421efae5.tar.gz cpython-5a04aec384c6d8346ee31396aad08b75421efae5.tar.bz2 |
Fix SF bug 546434 -- buffer slice type inconsistent.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -6,6 +6,11 @@ Type/class unification and new-style classes 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"]). |