diff options
author | Skip Montanaro <skip@pobox.com> | 2007-12-08 15:33:24 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2007-12-08 15:33:24 (GMT) |
commit | 26015494f2bbbae9910e94240f190ce9551c3549 (patch) | |
tree | ceb9f04c72b0308c32995c90584e6b9e4f0492af /Misc | |
parent | 546624609e814d91a4d4fc6ad65c100309bac160 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |