Repository navigation
gh-81163: Add support for extended color functions in ncurses 6.1 #17536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
360bb19
bpo-36982, bpo-36630: replumb these curses module functions to suppor…
websurfer5 2be663b
bpo-36982, bpo-36630: refactor the curses color implementation functi…
websurfer5 6893bfe
bpo-36982, bpo-36630: _NCURSES_EXTENDED_COLOR_FUNCS is always defined…
websurfer5 fb6d81e
bpo-36982: add new function: curses.has_extended_color_support() to i…
websurfer5 3d48299
bpo-36982, bpo-36630: add test for curses.has_extended_color_support()
websurfer5 7337433
bpo-36982: reorganize new code to keep clinic happy
websurfer5 de55056
📜🤖 Added by blurb_it.
blurb-it[bot] a3827ec
bpo-36982: refactor color-pair functions to use clinic
websurfer5 7de2eb0
bpo-36982: Add back has_extended_color_support() method lost during r…
hpjansson b07f1bd
bpo-36982: Add back init_color() to clinic input
hpjansson ec1aecd
bpo-36982: Move the whatsnew entry forward to 3.9.
hpjansson 9593685
bpo-36982: Improve error messages and fix code formatting
hpjansson e8f678b
bpo-36982: Move _curses_pair_content__doc__ back where it belongs
hpjansson 2f8c724
bpo-36982: Use a plain integer for color pair argument
hpjansson fd4c215
bpo-36982: Revert rgb values to short; they are in the 0-1000 range
hpjansson cd9b643
bpo-36982: Improve error message specificity and formatting
hpjansson 8c89c23
bpo-36982: Let Clinic remove redundant calls to PyFloat_Check()
hpjansson 023d41c
bpo-36982: Move whatsnew entry forward from 3.9 to 3.10
hpjansson b777e93
bpo-36982: Use converters for color numbers and color pairs
hpjansson 1242214
bpo-36982: Use converters for color components
hpjansson eb61ff5
bpo-36982: Throw ValueError instead of OverflowError if arg out of range
hpjansson 3fe7b1a
bpo-36982: Improve error messages and tighten range checking
hpjansson 333f54d
bpo-36982: Remove unused defines
hpjansson 1749b1e
bpo-36982: Update accreditation
hpjansson f5a9873
bpo-36982: Properly check for overflow in converters
hpjansson 9bad726
bpo-36982: Shortcut error checking in converters
hpjansson 29efcf3
bpo-36982: Revert unrelated changes
hpjansson 81ad399
bpo-36982: Define extended color macros in single block for clarity
hpjansson 9ec614a
bpo-36982: Add ValueError tests for color and pair converters
hpjansson 70fdaf3
bpo-36982: Add back documentation for has_extended_color_support()
hpjansson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bpo-36982: add new function: curses.has_extended_color_support() to i…
…ndicate whether extended colors are suported by the underlying ncurses library.
- Loading branch information
commit fb6d81e495477248ddf3bc7eb25e651daa9f3a41
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.