This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ammar2
Recipients BTaskaya, Mark.Shannon, ammar2, aroberge, brandtbucher, miss-islington, nedbat, pablogsal, serhiy.storchaka, terry.reedy
Date 2021-07-19.22:47:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626734827.26.0.276304383311.issue43950@roundup.psfhosted.org>
In-reply-to
Content
I think this is the previous issue you are talking about Terry. https://bugs.python.org/issue24665

The correct algorithm is a little more complex than just using east_asian_widths. Ideally we would like to use the wcwidth function (https://man7.org/linux/man-pages/man3/wcwidth.3.html) which implements all the logic to somewhat properly figure out widths.

Given Terry's comments from above and the previous issues I'm starting to think the fix for this issue might not be worth the added complexity.
History
Date User Action Args
2021-07-19 22:47:07ammar2setrecipients: + ammar2, terry.reedy, nedbat, aroberge, Mark.Shannon, serhiy.storchaka, pablogsal, miss-islington, brandtbucher, BTaskaya
2021-07-19 22:47:07ammar2setmessageid: <1626734827.26.0.276304383311.issue43950@roundup.psfhosted.org>
2021-07-19 22:47:07ammar2linkissue43950 messages
2021-07-19 22:47:07ammar2create