GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-141004: document `curses` C API by picnixz · Pull Request #141254 · python/cpython

Conversation

@picnixz

@picnixz picnixz commented Nov 8, 2025 •
edited by github-actions Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member
  • Issue: Document the entire C API #141004

📚 Documentation preview 📚: https://cpython-previews--141254.org.readthedocs.build/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@picnixz picnixz added the skip news label Nov 8, 2025
@bedevere-app bedevere-app Bot added awaiting core review docs Documentation in the Doc dir labels Nov 8, 2025
@github-project-automation github-project-automation Bot added this to Docs PRs Nov 8, 2025
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Nov 8, 2025
@bedevere-app bedevere-app Bot mentioned this pull request Nov 8, 2025
Document the entire C API #141004
Closed
@picnixz
document curses C API
5c30fd6
@picnixz
picnixz force-pushed the docs/capi/curses-141004 branch from 4b091af to 5c30fd6 Compare November 8, 2025 15:18
@picnixz
fixup
7c3b8f3
ZeroIntensity
ZeroIntensity reviewed Nov 8, 2025
View reviewed changes
Comment thread Doc/c-api/curses.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

picnixz added 3 commits November 8, 2025 18:27
@picnixz
.
054bfa1
@picnixz
new section for extension modules
1166342
@picnixz
fixup
bf55f97
@picnixz
picnixz force-pushed the docs/capi/curses-141004 branch from 698f2a0 to bf55f97 Compare November 8, 2025 17:41
ZeroIntensity
ZeroIntensity reviewed Nov 8, 2025
View reviewed changes
Comment thread Doc/c-api/curses.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Doc/c-api/curses.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Doc/c-api/curses.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@picnixz

picnixz commented Nov 9, 2025

Copy link
Copy Markdown
Member Author

I really don't like the curses C API. Is there a world where I can rewrite it to avoid macros and global variables? it's only used by curses.panel btw in the project.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@picnixz
address review
a35cd11
@picnixz
picnixz requested a review from ZeroIntensity November 9, 2025 14:04
@ZeroIntensity

ZeroIntensity commented Nov 9, 2025

Copy link
Copy Markdown
Member

Is there a world where I can rewrite it to avoid macros and global variables? it's only used by curses.panel btw in the project.

Yeah (and I'd love to get this done for datetime too), but it has to be for 3.15 only.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ZeroIntensity
ZeroIntensity approved these changes Nov 9, 2025
View reviewed changes

@ZeroIntensity ZeroIntensity left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thanks, some non-blocking suggestions below.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread Doc/c-api/curses.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Doc/c-api/curses.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Doc/c-api/curses.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting core review labels Nov 9, 2025
@picnixz
address review
55465c9
@picnixz
picnixz enabled auto-merge (squash) November 9, 2025 15:42
@picnixz picnixz added needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes labels Nov 9, 2025
@picnixz
picnixz merged commit dbe4090 into python:main Nov 9, 2025
32 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Nov 9, 2025
@miss-islington-app

miss-islington-app Bot commented Nov 9, 2025

Copy link
Copy Markdown

Thanks @picnixz for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting merge label Nov 9, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 9, 2025
@picnixz @miss-islington
pythongh-141004: document curses C API (pythonGH-141254)
5cdec33
(cherry picked from commit dbe4090)

Co-authored-by: Bénédikt Tran <[email protected]>
@bedevere-app

bedevere-app Bot commented Nov 9, 2025

Copy link
Copy Markdown

GH-141292 is a backport of this pull request to the 3.14 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Nov 9, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 9, 2025
@picnixz @miss-islington
pythongh-141004: document curses C API (pythonGH-141254)
2a05234
(cherry picked from commit dbe4090)

Co-authored-by: Bénédikt Tran <[email protected]>
@bedevere-app

bedevere-app Bot commented Nov 9, 2025

Copy link
Copy Markdown

GH-141293 is a backport of this pull request to the 3.13 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Nov 9, 2025
@picnixz
picnixz deleted the docs/capi/curses-141004 branch November 9, 2025 15:49
picnixz added a commit that referenced this pull request Nov 9, 2025
@miss-islington @picnixz
[3.14] gh-141004: document curses C API (GH-141254) (#141292)
cb45871
gh-141004: document `curses` C API (GH-141254)
(cherry picked from commit dbe4090)

Co-authored-by: Bénédikt Tran <[email protected]>
picnixz added a commit that referenced this pull request Nov 9, 2025
@miss-islington @picnixz
[3.13] gh-141004: document curses C API (GH-141254) (#141293)
2dd8812
gh-141004: document `curses` C API (GH-141254)
(cherry picked from commit dbe4090)

Co-authored-by: Bénédikt Tran <[email protected]>
@ZeroIntensity ZeroIntensity mentioned this pull request Nov 14, 2025
gh-141004: Document missing PyDateTime* APIs. #141543
Merged
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
@picnixz @StanFromIreland
pythongh-141004: document curses C API (python#141254)
3150e16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ZeroIntensity ZeroIntensity ZeroIntensity approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

docs Documentation in the Doc dir skip news

Projects

Docs PRs
Status: Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@picnixz @ZeroIntensity
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.