[issue36982] Add support for extended color functions in ncurses 6.1

2020-08-10 Thread Ned Deily
Ned Deily added the comment: > We really need to get this merged since, without it, Python builds fail with > the newer versions of ncurses now in most distributions. That is a bit of an overstatment on my part. What is true is that test_curses fails on 3.9 and 3.8 when run with ncurses

[issue36982] Add support for extended color functions in ncurses 6.1

2020-08-03 Thread Ned Deily
Ned Deily added the comment: New changeset da4e09fff6b483fe858997da5599c25397107ca1 by Hans Petter Jansson in branch 'master': bpo-36982: Add support for extended color functions in ncurses 6.1 (GH-17536) https://github.com/python/cpython/commit/da4e09fff6b483fe858997da5599c25397107ca1

[issue36982] Add support for extended color functions in ncurses 6.1

2020-07-28 Thread Ned Deily
Ned Deily added the comment: PR 17536 was based on the original PR 13534 and has now gone through a couple of rounds of code review. Other than a missing doc change, everything in PR 13534 is covered (and updated) in PR 17536 so I've closed the original PR. Other than adding the doc change

[issue36982] Add support for extended color functions in ncurses 6.1

2019-12-09 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +17013 pull_request: https://github.com/python/cpython/pull/17536 ___ Python tracker ___

[issue36982] Add support for extended color functions in ncurses 6.1

2019-05-24 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- components: +Extension Modules -Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing

[issue36982] Add support for extended color functions in ncurses 6.1

2019-05-23 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36982] Add support for extended color functions in ncurses 6.1

2019-05-23 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +13448 stage: -> patch review ___ Python tracker ___ ___

[issue36982] Add support for extended color functions in ncurses 6.1

2019-05-23 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36982] Add support for extended color functions in ncurses 6.1

2019-05-23 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: Corrected typos in msg343336 for clarity: At first glance, has_extended_colors() seems like a better name because it is similar to has_colors(), but the two functions have very different semantics that could confuse developers.

[issue36982] Add support for extended color functions in ncurses 6.1

2019-05-23 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: A new function called curses.has_extended_color_support() will indicate whether the linked ncurses library provides extended color support. It returns true if curses.h defines NCURSES_EXT_COLORS and NCURSES_EXT_FUNCS, indicating that the extended color

[issue36982] Add support for extended color functions in ncurses 6.1

2019-05-20 Thread Jeffrey Kintscher
New submission from Jeffrey Kintscher : ncurses 6.1 adds extended color functions to support terminals with 256 colors (e.g. xterm-256color). The extended functions take color pair values that are signed integers because the existing functions only take signed 16-bit values. My goal with