[issue43950] Include column offsets for bytecode instructions
Ammar Askar
report at bugs.python.org
Mon Jul 19 18:47:07 EDT 2021
Ammar Askar <ammar at ammaraskar.com> added the comment:
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.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43950>
_______________________________________
More information about the Python-bugs-list
mailing list