]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #21118: str.translate() now raises a ValueError, not a TypeError, if the
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 5 Apr 2014 13:35:01 +0000 (15:35 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 5 Apr 2014 13:35:01 +0000 (15:35 +0200)
commite49a95fe056af414ffd2cd9ec87398a6b076ae1c
tree4b3037d3b0a0ab2cef62ff649844fc51d836436b
parent872b291b9605f0f5a072137182034959416e36bd
Issue #21118: str.translate() now raises a ValueError, not a TypeError, if the
replacement character is bigger than U+10ffff code point.
Lib/test/test_codeccallbacks.py