summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2007-12-08 15:33:24 (GMT)
committerSkip Montanaro <skip@pobox.com>2007-12-08 15:33:24 (GMT)
commit26015494f2bbbae9910e94240f190ce9551c3549 (patch)
treeceb9f04c72b0308c32995c90584e6b9e4f0492af /Misc
parent546624609e814d91a4d4fc6ad65c100309bac160 (diff)
downloadcpython-26015494f2bbbae9910e94240f190ce9551c3549.zip
cpython-26015494f2bbbae9910e94240f190ce9551c3549.tar.gz
cpython-26015494f2bbbae9910e94240f190ce9551c3549.tar.bz2
When splitting, avoid making a copy of the string if the split doesn't find
anything (issue 1538).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index efcb6c0..4db5c3d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.6 alpha 1?
Core and builtins
-----------------
+- Issue #1538: Avoid copying string in split/rsplit if the split
+ char is not found.
+
- Issue #1553: An erroneous __length_hint__ can make list() raise a
SystemError.