Skip to content

Remove now-wrapped functions from the curses unsupported list#152480

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:curses-unsupported-comment
Jun 28, 2026
Merged

Remove now-wrapped functions from the curses unsupported list#152480
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:curses-unsupported-comment

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

The "currently unsupported functions" comment at the top of Modules/_cursesmodule.c had drifted out of date — it still listed a number of functions that have since been wrapped.

Removed the entries that are now exposed:

  • the cell-array functions (addchstr/addchnstr/inchstr/inchnstr and their mv/w variants), now reachable through the complex-character API: addstr(complexstr(...)) writes the cells via waddchnstr, and in_wchstr() reads them via winchnstr
  • innstr/winnstr and variants — wrapped as instr
  • color_set/wcolor_set, define_key, keyok
  • scrl/wscrl — wrapped as scroll
  • timeout

The genuinely unwrapped functions are kept, as are the soft-label-key, menu, and form sections.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) June 28, 2026 10:39
@serhiy-storchaka serhiy-storchaka merged commit 65585ca into python:main Jun 28, 2026
56 of 57 checks passed
@serhiy-storchaka serhiy-storchaka deleted the curses-unsupported-comment branch June 28, 2026 12:15
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