[issue39273] ncurses does not include BUTTON5_* constants

2021-01-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 -Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue39273] ncurses does not include BUTTON5_* constants

2021-01-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 14cfa325c298ceb9eaf6b585a3cdcabf6c6378a9 by Zackery Spytz in branch 'master': bpo-39273: Expose BUTTON5_* constants in the curses module if available (GH-17996)

[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 ___ ___ Python-bugs-list mailing list

[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 ``` The

[issue39273] ncurses does not include BUTTON5_* constants

2020-01-13 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___

[issue39273] ncurses does not include BUTTON5_* constants

2020-01-13 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +17400 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17996 ___ Python tracker ___

[issue39273] ncurses does not include BUTTON5_* constants

2020-01-08 Thread Michael Yoo
New submission from Michael Yoo : Hi, Recently I was working with ncurses, and when handling the mouse scroll events, I noticed that the curses library does not include the BUTTON5_* macros provided by ncurses. On my system, BUTTON5 corresponds to the mouse down event. Is there a reason for