New issue 2991: str.maketrans returns UTF-8 code points instead of Unicode code points https://bitbucket.org/pypy/pypy/issues/2991/strmaketrans-returns-utf-8-code-points
Dingyuan Wang: The cpython 3.x and pypy 7.x before the utf-8 changes returns: ``` >>>> str.maketrans('啊', '阿') {21834: 38463} ``` The new pypy3.6 7.2 (4547d8edb215) returns: ``` >>>> str.maketrans('啊', '阿') {229: 233, 149: 152, 138: 191} ``` _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue