[New-bugs-announce] [issue29170] Curses Module should check for is_keypad and not window flags

Roy Marples report at bugs.python.org
Thu Jan 5 16:57:30 EST 2017


New submission from Roy Marples:

checking whether WINDOW has _flags... no

The ncurses library can be built with an opaque window structure.
As such, it's not always possible to query it's flags.
Luckily there is the is_keypad function which works regardless of how ncurses was built.

If this test is changed, then it will help support NetBSD curses as well.

----------
components: Extension Modules
messages: 284771
nosy: Roy Marples
priority: normal
severity: normal
status: open
title: Curses Module should check for is_keypad and not window flags
type: compile error
versions: Python 3.6

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


More information about the New-bugs-announce mailing list