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

Eric Smith report at bugs.python.org
Sat Nov 27 01:25:12 CET 2010

Eric Smith <eric at trueblade.com> added the comment:

I think these macros would be a reasonable approach. I think str.center, etc. should support non-BMP chars, because to not do so can raise an exception. Supporting composed graphemes seems like another problem altogether. And while we could fix that, it's clearly a larger step.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list