◐ Shell
reader mode source ↗
Skip to content

[2.7] bpo-25720: Fix the method for checking pad state of curses WINDOW (GH-4164)#4213

Merged
serhiy-storchaka merged 1 commit into
python:2.7from
miss-islington:backport-8bc7d63-2.7
Nov 1, 2017
Merged

[2.7] bpo-25720: Fix the method for checking pad state of curses WINDOW (GH-4164)#4213
serhiy-storchaka merged 1 commit into
python:2.7from
miss-islington:backport-8bc7d63-2.7

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 1, 2017

Copy link
Copy Markdown
Contributor

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 8bc7d63)

https://bugs.python.org/issue25720

…thonGH-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().
(cherry picked from commit 8bc7d63)
@miss-islington

Copy link
Copy Markdown
Contributor Author

@miss-islington miss-islington deleted the backport-8bc7d63-2.7 branch November 1, 2017 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants