Skip to content

Add small Python 3.15 stdlib updates#15727

Merged
JelleZijlstra merged 2 commits into
python:mainfrom
JelleZijlstra:codex/python315-small-stdlib
May 8, 2026
Merged

Add small Python 3.15 stdlib updates#15727
JelleZijlstra merged 2 commits into
python:mainfrom
JelleZijlstra:codex/python315-small-stdlib

Conversation

@JelleZijlstra
Copy link
Copy Markdown
Member

@JelleZijlstra JelleZijlstra commented May 8, 2026

Summary

  • Split out a small, low-conflict subset of the Python 3.15 stdlib changes.
  • Add decimal SPEC_VERSION exports, asyncio updates, dbm reorganize support, pstats.Stats.print_call_subheading, and the 3.15 sysconfig.is_python_build signature.
  • Remove cProfile.label for Python 3.15+.
  • Remove corresponding 3.15 stubtest allowlist entries.

Relevant report entries

@github-actions

This comment has been minimized.

@JelleZijlstra JelleZijlstra marked this pull request as ready for review May 8, 2026 18:44
@srittau
Copy link
Copy Markdown
Collaborator

srittau commented May 8, 2026

This is still marked "do not review" in the title. Is this intentional?

@JelleZijlstra JelleZijlstra changed the title [do not review] Add small Python 3.15 stdlib updates Add small Python 3.15 stdlib updates May 8, 2026
@JelleZijlstra
Copy link
Copy Markdown
Member Author

No this one should be good!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

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

pandas (https://github.com/pandas-dev/pandas)
- pandas/core/computation/ops.py:328: error: Need type annotation for "_binary_ops_dict" (hint: "_binary_ops_dict: dict[<type>, <type>] = ...")  [var-annotated]

@JelleZijlstra JelleZijlstra merged commit 76b1f83 into python:main May 8, 2026
56 checks passed
@JelleZijlstra JelleZijlstra deleted the codex/python315-small-stdlib branch May 8, 2026 19:49
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