Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-141004: documentcurses C API#141254

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
picnixz wants to merge5 commits intopython:main
base:main
Choose a base branch
Loading
frompicnixz:docs/capi/curses-141004

Conversation

@picnixz
Copy link
Member

@picnixzpicnixz commentedNov 8, 2025
edited by github-actionsbot
Loading

@picnixzpicnixzforce-pushed thedocs/capi/curses-141004 branch from4b091af to5c30fd6CompareNovember 8, 2025 15:18
@picnixzpicnixzforce-pushed thedocs/capi/curses-141004 branch from698f2a0 tobf55f97CompareNovember 8, 2025 17:41
Comment on lines +34 to +35
``PyCurses_API[1]``, ``PyCurses_API[2]``, and ``PyCurses_API[3]``
are pointers to predicate functions of type ``int (*)(void)``.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Please document that new entries may be added in the future.


..c:var:: PyTypeObject PyCursesWindow_Type
The:ref:`heap type<heap-types>` corresponding to:class:`curses.window`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Yuck, this doesn't look cross-interpreter friendly. Could you add a note somewhere here thatpy_curses.h is not compatible with subinterpreters? It'd also be good to make a new issue for this.

Comment on lines +117 to +121
..c:macro:: PyCurses_API_pointers
The number of accessible fields in:c:var:`PyCurses_API`.
Internal usage only.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This shouldn't be "internal only", because this is useful to users. If we ever add something new to the curses C API, they can check the array size to determine whether the new thing is available.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ZeroIntensityZeroIntensityZeroIntensity left review comments

Assignees

No one assigned

Labels

awaiting core reviewdocsDocumentation in the Doc dirskip news

Projects

Status: Todo

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@picnixz@ZeroIntensity

[8]ページ先頭

©2009-2025 Movatter.jp