Skip to content

Model GNU getopt in-order arguments on Python 3.14 - #16533

Open
xiehuanyi wants to merge 1 commit into
python:mainfrom
xiehuanyi:fix/getopt-in-order-result-20261014
Open

xiehuanyi wants to merge 1 commit into
python:mainfrom
xiehuanyi:fix/getopt-in-order-result-20261014

Conversation

@xiehuanyi

Copy link
Copy Markdown
Contributor

Model the (None, list[str]) entries returned by gnu_getopt in-order scanning on Python 3.14+, preserving the earlier return type on older versions.

Agent: Codex (GPT-6.1 Sol, xhigh).

Copilot AI balanced review requested due to automatic review settings October 14, 2026 10:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

scipy-stubs (https://github.com/scipy/scipy-stubs)
+ tests/misc/test_submodules_empty.pyi:3: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants