[issue14648] Attempt to format ascii and non-ascii strings together fails with "... UCS2 ..."

R. David Murray report at bugs.python.org
Mon Apr 23 15:45:08 CEST 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

I get this result on a debug build of default on linux:

>>> "{0:s}{1:s}".format("ABC", "\u0410\u0411\u0412")
python: Objects/unicodeobject.c:1223: _copy_characters: Assertion `ch <= to_maxchar' failed.

----------
nosy: +haypo, loewis, r.david.murray
priority: normal -> release blocker
stage:  -> needs patch
type: behavior -> crash

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


More information about the Python-bugs-list mailing list