[New-bugs-announce] [issue30608] argparse calculates string widths incorrectly

Vanessa McHale report at bugs.python.org
Fri Jun 9 01:56:43 EDT 2017


New submission from Vanessa McHale:

Currently, python computes string widths based on number of characters. However, this will not work in general because some languages have e.g. vowel markers: 'བོད' for instance is three characters but its width should be two. 

I have an example repo here: https://github.com/vmchale/argparse-min-example

----------
components: Library (Lib)
messages: 295490
nosy: Vanessa McHale
priority: normal
severity: normal
status: open
title: argparse calculates string widths incorrectly
versions: Python 3.6, Python 3.7

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


More information about the New-bugs-announce mailing list