bpo-24665: Add CJK support in textwrap by default.#5649
Conversation
|
Don't see my author credit |
Sorry, something went wrong.
45fd84d to
4623375
Compare
March 6, 2018 22:42
Co-authored-by: Florent Gallaire <fgallaire@gmail.com>
4623375 to
57b2882
Compare
March 6, 2018 22:43
You're right! And trying to split a wide character yield to an infinite loop.
Gladly fixed and co-authored you. |
Sorry, something went wrong.
|
Thanks @JulienPalard, I'm so happy ! I had almost lost hope to see this issue fixed. |
Sorry, something went wrong.
terryjreedy
left a comment
There was a problem hiding this comment.
The change I request is that this be closed because it is conceptually wrong. Textwrap works in terms of abstract 'characters' (codepoint), not physical units. I will explain this on the issue.
Aside from that, 2 is the wrong number to add, as 'double-width' characters are not actually twice as wide as fixed-pitch Ascii chars of the same height. See the issue for this as well.
Sorry, something went wrong.
|
When you're done making the requested changes, leave the comment: |
Sorry, something went wrong.
Related to:
https://bugs.python.org/issue24665