summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-01 20:30:30 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-01 20:30:30 (GMT)
commit6c9aa8f2bf46e28de74ce11d85bcd448c0d0d529 (patch)
treed60ac5d1a1c8210af5403fd948a68f802b8ba35f /Misc
parentbb0dbd583bdac8f1bfb9f0a45e7014b2663d5729 (diff)
downloadcpython-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0ee28e9..303daa2 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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