[issue30717] str.center() is not unicode aware

Guillaume Sanchez report at bugs.python.org
Thu Jul 13 19:42:08 EDT 2017


Guillaume Sanchez added the comment:

Hello,

I implemented unicodedata.break_graphemes() that returns an iterators that spits consecutive graphemes.

This is a "test" implementation meant to see what doesn't fits Python's style and design, to discuss naming and implementation details.

https://github.com/python/cpython/pull/2673

Thanks for your time and interest

----------

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


More information about the Python-bugs-list mailing list