[issue9804] ascii() does not always join surrogate pairs

Antoine Pitrou report at bugs.python.org
Wed Sep 8 23:47:49 CEST 2010


New submission from Antoine Pitrou <pitrou at free.fr>:

This is on an UCS-2 py3k build:

>>> ascii('\U00012FFF')
"'\\U00012fff'"
>>> ascii('\U0001D121')
"'\\ud834\\udd21'"

----------
components: Interpreter Core, Unicode
messages: 115905
nosy: haypo, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: ascii() does not always join surrogate pairs
type: behavior
versions: Python 3.1, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9804>
_______________________________________


More information about the Python-bugs-list mailing list