[issue12568] Add functions to get the width in columns of a character

Martin v. Löwis report at bugs.python.org
Sat Mar 10 19:59:14 CET 2012


Martin v. Löwis <martin at v.loewis.de> added the comment:

> Don't we need a function that actually reports how curses is going to
> print a given string, rather than just reporting what the unicode
> standard says?

That may be useful, but

a) this patch doesn't provide that, and
b) it may not actually possible to implement such a change in a portable
    way as there may be no function exposed by the curses implementation
    that provides this information.

To put my closing this issue differently: I rejected the patch that
Victor initially submitted. If anybody wants to contribute a different
patch that uses a different strategy, please submit a new issue.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12568>
_______________________________________


More information about the Python-bugs-list mailing list