]> granicus.if.org Git - python/commit
bpo-25720: Fix the method for checking pad state of curses WINDOW (#4164)
authorMasayuki Yamamoto <ma3yuki.8mamo10@gmail.com>
Wed, 1 Nov 2017 12:05:26 +0000 (21:05 +0900)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 1 Nov 2017 12:05:26 +0000 (14:05 +0200)
commit8bc7d63560024681dce9f40445f2877b2987e92c
treeb1e05ed1a68b1d8b0f3d7a5268c11922084dc29f
parent280c22a82a6756e9caffef031c564fd98f1b50e7
bpo-25720: Fix the method for checking pad state of curses WINDOW (#4164)

Modify the code to use ncurses is_pad() instead of checking WINDOW
_flags field.  If your platform does not provide the is_pad(), the
existing way that checks the field will be enabled.

Note: This change does not drop support for platforms where do not
have both WINDOW _flags field and is_pad().
Include/py_curses.h
Misc/NEWS.d/next/Library/2017-10-29-17-52-40.bpo-25720.vSvb5h.rst [new file with mode: 0644]
Modules/_cursesmodule.c
configure
configure.ac
pyconfig.h.in