[pull] main from python:main#1212
Merged
Merged
Conversation
…-152504) Some curses functions were called unconditionally or gated only by the ncurses-specific NCURSES_EXT_FUNCS macro, which broke building the module against other curses implementations (narrow ncurses, NetBSD curses) even when they provided the function. Detect each with a configure capability probe and gate on HAVE_CURSES_*. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…-152505) window.in_wch(), window.in_wchstr() and window.getbkgrnd() read a cell into an uninitialized cchar_t, relying on the curses library to leave the text NUL-terminated -- which ncurses does but X/Open does not require, so some libraries (such as NetBSD curses) returned uninitialized bytes as wide characters. Zero-initialize the cell buffers before the read and default the getcchar() output to an empty string. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
…GH-152583) Reorganize the curses documentation into topic subsections Group the module-level functions, window methods and constants by topic instead of presenting them as flat alphabetical lists, following the categories used by the ncurses manual pages. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
…methods (GH-152594) The name parameter of Misc.wait_variable(), setvar() and getvar() and the value parameter of setvar() should not be optional. Their default values ('PY_VAR' and '1') are not meaningful and should not be advertised. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
unget_wch() can push only a single-byte character on a narrow build, so skip the multi-byte cases there. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
…H-152595) The name parameter of Misc.wait_variable(), setvar() and getvar() and the value parameter of setvar() no longer have default values, which were not meaningful ('PY_VAR' and '1'). Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
test_virtual_events and test_selection_event generate key events after focus_force(). On Windows these are only delivered once the toplevel is mapped, so they could be dropped and the test fail. Wait until the widget is mapped, as the other GUI tests already do. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
…ract() (GH-151988) Co-authored-by: Seth Michael Larson <seth@python.org>
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )