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 — Add small Python 3.15 stdlib updates by JelleZijlstra · Pull Request #15727 · python/typeshed

Conversation

@JelleZijlstra

@JelleZijlstra JelleZijlstra commented May 8, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

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

  • Added asyncio.tools.display_awaited_by_tasks_table(retries=...) and display_awaited_by_tasks_tree(retries=...) (CPython source: https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/asyncio/tools.py)
  • Added asyncio.TaskGroup.cancel (CPython PR: gh-108951: add TaskGroup.cancel() cpython#127214; source: https://github.com/python/cpython/blob/main/Lib/asyncio/taskgroups.py)
  • Removed undocumented cProfile.label from the 3.15 runtime surface (CPython source: https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/cProfile.py)
  • Added dbm.dumb._Database.reorganize, dbm.sqlite3.REORGANIZE, and dbm.sqlite3._Database.reorganize (CPython PRs: DBM Module Vacuuming cpython#134004, Custom unpickler and pickler for the shelve module  cpython#99631; sources: https://github.com/python/cpython/blob/main/Lib/dbm/dumb.py, https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/dbm/sqlite3.py)
  • Added decimal.SPEC_VERSION, _decimal.SPEC_VERSION, and _pydecimal.SPEC_VERSION (CPython source: https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/_pydecimal.py, https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Modules/_decimal/_decimal.c)
  • Added pstats.Stats.print_call_subheading() (CPython source: https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/pstats.py)
  • Removed the deprecated check_home parameter from sysconfig.is_python_build() (CPython source: https://github.com/python/cpython/blob/e81025e6d2e01e38c5a5b656af5739ac9df5ff55/Lib/sysconfig/__init__.py)

Sorry, something went wrong.

Uh oh!

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

All reactions
@JelleZijlstra
Add small Python 3.15 stdlib updates
159a9de
@github-actions

This comment has been minimized.

Sign in to view
@JelleZijlstra
JelleZijlstra marked this pull request as ready for review May 8, 2026 18:44
@srittau

srittau commented May 8, 2026

Copy link
Copy Markdown
Collaborator

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

All reactions

Sorry, something went wrong.

Uh oh!

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

@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
Merge branch 'main' into codex/python315-small-stdlib
735454a
@JelleZijlstra

JelleZijlstra commented May 8, 2026

Copy link
Copy Markdown
Member Author

No this one should be good!

All reactions

Sorry, something went wrong.

Uh oh!

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

srittau
srittau approved these changes May 8, 2026
View reviewed changes
@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

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]
All reactions

Sorry, something went wrong.

Uh oh!

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

@JelleZijlstra
JelleZijlstra merged commit 76b1f83 into python:main May 8, 2026
56 checks passed

Uh oh!

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

@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

Reviewers

@srittau srittau srittau approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

None yet

Projects

None yet

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

@JelleZijlstra @srittau
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.