commit | 6c9aa8f2bf46e28de74ce11d85bcd448c0d0d529 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Mar 01 21:30:30 2016 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Mar 01 21:30:30 2016 +0100 |
tree | d60ac5d1a1c8210af5403fd948a68f802b8ba35f | |
parent | bb0dbd583bdac8f1bfb9f0a45e7014b2663d5729 [diff] |
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.