[issue10521] str methods don't accept non-BMP fillchar on a narrow Unicode build
Eric Smith
report at bugs.python.org
Wed Nov 24 16:57:37 CET 2010
Eric Smith <eric at trueblade.com> added the comment:
str.__format__ and friends (int, float, complex) also have this same problem. For example, when they're computing the "fill" character:
>>> format('', 'x^')
''
>>> format('', '\U00100140^')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: Invalid conversion specification
----------
nosy: +eric.smith
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10521>
_______________________________________
More information about the Python-bugs-list
mailing list