]> granicus.if.org Git - python/commit
bpo-25720: Fix the method for checking pad state of curses WINDOW (GH-4164) (#4212)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Nov 2017 12:35:41 +0000 (05:35 -0700)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 1 Nov 2017 12:35:41 +0000 (14:35 +0200)
commitff6ae4de3874f4922a5883f08bb661c93834b060
tree4f19cb9363c125dc7f91e180a58234b5ad05de9d
parent84e252b79eed94bc9e9175f82191322c89e489ad
bpo-25720: Fix the method for checking pad state of curses WINDOW (GH-4164) (#4212)

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().
(cherry picked from commit 8bc7d63560024681dce9f40445f2877b2987e92c)
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