Skip to content

[3.13] gh-151623: Add missing curses docstrings and document intrflush() (GH-151632)#153756

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:backport-151632-3.13
Jul 15, 2026
Merged

[3.13] gh-151623: Add missing curses docstrings and document intrflush() (GH-151632)#153756
serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:backport-151632-3.13

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

gh-151623: Add missing curses docstrings and document intrflush()

(cherry picked from commit 12add38)

Conflict resolution for 3.13: two main-only refactors are not present on this branch, so the docstrings were applied while preserving 3.13's code:

  • Window methods still use the PyCursesWindowObject *self signature, so the (PyCFunction) casts were kept in the method table (main dropped them).
  • getstr, instr and chgat retain their 3.13 names (PyCursesWindow_GetStr etc.); their docstrings were added as PyDoc_STRVAR blocks.

intrflush() keeps 3.13's PyCursesCheckERR body. Built and imported _curses to confirm all window-method docstrings and intrflush are present (test_curses needs a real terminal).

Co-authored-by: Claude Opus 4.8 (1M context) noreply@anthropic.com

@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) July 15, 2026 11:11
@serhiy-storchaka serhiy-storchaka merged commit 753acb2 into python:3.13 Jul 15, 2026
43 checks passed
@serhiy-storchaka serhiy-storchaka deleted the backport-151632-3.13 branch July 15, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant