diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-01 20:30:30 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-01 20:30:30 (GMT) |
commit | 6c9aa8f2bf46e28de74ce11d85bcd448c0d0d529 (patch) | |
tree | d60ac5d1a1c8210af5403fd948a68f802b8ba35f /Misc | |
parent | bb0dbd583bdac8f1bfb9f0a45e7014b2663d5729 (diff) | |
download | cpython-6c9aa8f2bf46e28de74ce11d85bcd448c0d0d529.zip cpython-6c9aa8f2bf46e28de74ce11d85bcd448c0d0d529.tar.gz cpython-6c9aa8f2bf46e28de74ce11d85bcd448c0d0d529.tar.bz2 |
Fix str.translate()
Issue #26464: Fix str.translate() when string is ASCII and first replacements
removes character, but next replacement uses a non-ASCII character or a string
longer than 1 character. Regression introduced in Python 3.5.0.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -10,6 +10,10 @@ Release date: tba Core and Builtins ----------------- +- Issue #26464: Fix str.translate() when string is ASCII and first replacements + removes character, but next replacement uses a non-ASCII character or a + string longer than 1 character. Regression introduced in Python 3.5.0. + - Issue #22836: Ensure exception reports from PyErr_Display() and PyErr_WriteUnraisable() are sensible even when formatting them produces secondary errors. This affects the reports produced by |