[issue10521] str methods don't accept non-BMP fillchar on a narrow Unicode build

Antoine Pitrou report at bugs.python.org
Wed Nov 24 16:33:43 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

The question is, what should it do with such an input? Pretend it's a single char (but other chars in the source string won't get the same treatment)? Treat it as a two-char string (but then center() and friends should logically be extended to accept strings of arbitrary lengths)?

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list