[issue39273] ncurses does not include BUTTON5_* constants

2020-10-08 Thread Grady Martin
Change by Grady Martin : -- versions: +Python 3.6, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issue39273> ___ ___ Python-bugs-list mailin

[issue39273] ncurses does not include BUTTON5_* constants

2020-10-08 Thread Grady Martin
Grady Martin added the comment: This baffled me, as well. Does the reason involve bit-field width? By the way, look at what my Python installation does when just *pressing* button 5 (mouse wheel down) after calling `curses.mousemask()`: ``` _curses.error: getmouse() returned ERR

[issue26726] Incomplete Internationalization in Argparse Module

2016-04-09 Thread Grady Martin
New submission from Grady Martin: The attached, teensy-weensy patch passes to gettext() a string which had previously been passed as-is. Relevant mailing list message: http://article.gmane.org/gmane.comp.python.devel/157035 -- files: argparse_i18n.patch keywords: patch messages