]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-25720: Fix the method for checking pad state of curses WINDOW (GH-4164) (#4213)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Nov 2017 12:36:48 +0000 (05:36 -0700)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 1 Nov 2017 12:36:48 +0000 (14:36 +0200)
commit6ba0b583d6785a256b17d27431908d67015eeeb6
treef07b33336d954ec3ae75be4bb826411d72762026
parente7531e54bf195b8d3ed35b4138901c82f7ed794c
bpo-25720: Fix the method for checking pad state of curses WINDOW (GH-4164) (#4213)

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