[pypy-issue] Issue #2289: Incorrect Unicode normalization (pypy/pypy)

Tristan Seligmann issues-reply at bitbucket.org
Sun May 1 23:19:56 EDT 2016


New issue 2289: Incorrect Unicode normalization
https://bitbucket.org/pypy/pypy/issues/2289/incorrect-unicode-normalization

Tristan Seligmann:

```
mithrandi at lorien ~> python -V
Python 2.7.11+
mithrandi at lorien ~> python -c 'from unicodedata import normalize; print repr(normalize("NFC", u"\uafb8\u11a7"))'
u'\uafb8\u11a7'
mithrandi at lorien ~> pypy -V
Python 2.7.10 (5.1+dfsg-1, Apr 30 2016, 13:28:43)
[PyPy 5.1.0 with GCC 5.3.1 20160424]
mithrandi at lorien ~> pypy -c 'from unicodedata import normalize; print repr(normalize("NFC", u"\uafb8\u11a7"))'
u'\uafb8'
```
Happens with PyPy 5.0.0 as well, at least (I didn't try any other versions). As far as I can tell, the PyPy normalization is wrong here and the CPython one is correct.




More information about the pypy-issue mailing list