[issue43950] Include column offsets for bytecode instructions

Ammar Askar report at bugs.python.org
Tue Jul 20 17:45:09 EDT 2021


Ammar Askar <ammar at ammaraskar.com> added the comment:

Indeed, and the unicode_width package seems to implement the wcwidth algorithm:

* https://github.com/unicode-rs/unicode-width/blob/master/src/tables.rs#L39-L48
* https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c

https://bugs.python.org/issue12568 is an issue from the past that proposed adding wcwidth to the standard library.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43950>
_______________________________________


More information about the Python-bugs-list mailing list