Hi Kurt, Kurt Mosiejczuk wrote on Sat, Sep 12, 2020 at 06:28:30PM -0400:
> Update py-wcwidth from 0.1.9 to 0.2.5 This library is a very bad idea, it should better not exist. Python should use native wcwidth(3) instead. PKG-INFO says: This library attempts to determine the printable width [...] using the very latest Unicode specification. [...] The libc version of `wcwidth(3)`_ is often several unicode releases behind, and therefor several levels of support lower than this python library. That's just not true on OpenBSD where wcwidth(3) is very diligently maintained by afresh1@ in a timely manner. Even on systems where libc *is* behind, using a newer version on the application level is a very bad idea because the goal must be to have consistent data between the application program and the terminal emulator. Now the terminal emulator is (hopefully) using libc and certainly not using this Python library, so using the latest and greatest on the application level achieves nothing but inconsistency and hence misformatting in the terminal, whereas using the same native libc function in both Python and the terminal emulator would yield better results, even if the Unicode data data were slightly outdated. Not sure this observation should stand in the way of a routine update - but it might potentially make sense to deliver a dummy version on OpenBSD instead that merely calls through to libc and does not attempt to do any work whatsoever on its own. Yours, Ingo