[issue43950] Include column offsets for bytecode instructions
Pablo Galindo Salgado
report at bugs.python.org
Fri Jul 16 17:51:22 EDT 2021
Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:
We can probably leverage the unicodedata_UCD_east_asian_width_impl function in the unicodedata extension module to get the width of every character as emojis normally take 2 characters in the terminal. We could expose the necessary functions from there and use them in the _PyPegen_byte_offset_to_character_offset function
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43950>
_______________________________________
More information about the Python-bugs-list
mailing list