FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-157137: Mark the PEP 820 soft deprecations as 3.15, not `next` by fedonman · Pull Request #157138 · python/cpython · GitHub

Repository navigation

gh-157137: Mark the PEP 820 soft deprecations as 3.15, not next - #157138

Merged
hugovk merged 1 commit into
python:mainfrom
fedonman:fix-soft-deprecated-version-tags
Sep 8, 2026
Merged

hugovk merged 1 commit into
python:mainfrom
fedonman:fix-soft-deprecated-version-tags

Conversation

fedonman commented Sep 7, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

The seven soft-deprecated:: next directives added with PEP 820 were already in the tree at v3.15.0b1, and Doc/whatsnew/3.15.rst lists exactly those functions as 3.15 soft deprecations, but next expands to the development version. This sets them to 3.15, the form every other soft-deprecated:: directive in the tree uses.

All seven were already in the tree at v3.15.0b1, and Doc/whatsnew/3.15.rst
lists exactly those functions as 3.15 soft deprecations. The 3.15.0b1
commit rewrote 84 ":: next" tags and none of the soft-deprecated:: ones.

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34439764 | 📁 Comparing 788c634 against main (23180c5)

  🔍 Preview build  

2 files changed
± c-api/module.html
± c-api/type.html

Copy link
Copy Markdown
Member

I'd rather we fix the core root of this problem, and then these will be picked up by the next update.

StanFromIreland marked this pull request as draft September 8, 2026 14:31

Copy link
Copy Markdown
Member

I did some digging, and indeed we've already fixed this: python/release-tools#428

So I think this is correct.

StanFromIreland marked this pull request as ready for review September 8, 2026 14:40

hugovk commented Sep 8, 2026

Copy link
Copy Markdown
Member

Thanks! python/release-tools#428 meant it was fixed in the 3.15 branch during 3.15.0rc2, but we need this to fix for main.

hugovk merged commit e757c06 into python:main Sep 8, 2026
44 checks passed
github-project-automation Bot moved this from Todo to Done in Docs PRs Sep 8, 2026
maurycy added a commit to maurycy/cpython that referenced this pull request Sep 10, 2026
* main: (158 commits)
  pythongh-156924: Try reifying lazy imports in `ForwarRef.evaluate()` (python#156940)
  pythongh-156233: Fix typos and code snippet errors in the docs (python#156475)
  pythongh-156837: Refer to yield expressions in generator function definitions (pythonGH-156863)
  pythongh-155292: Skip updating unicodedata with mismatched interpreter (pythonGH-157066)
  pythongh-157170: Document the scope of global curses settings (pythonGH-157207)
  pythongh-155966: Correct handling of `math.tanpi` poles (python#155980)
  pythongh-157170: Restore use_env() after test_use_prescr_screen in test_curses (pythonGH-157171)
  pythongh-156910: fix deadlock in type_set_abstractmethods under free-threading (python#156948)
  pythongh-155648: Write the empty and placeholder IDLE tests (python#156260)
  pythongh-153569: centralize formatted-string state and source spans (python#156484)
  pythongh-157137: Mark the PEP 820 soft deprecations as 3.15, not `next` (python#157138)
  pythongh-152433: Use regular LoadLibrary in UWP for Windows system libs (pythonGH-156972)
  pythongh-121617: Fix Py_CLEAR() memcpy in C++: replace NULL with _Py_NULL (python#157188)
  pythongh-157135: Fix documentation errors in the `math.atan{2}pi` functions (python#157136)
  pythongh-121617: Fix Py_CLEAR() in C++: replace NULL with _Py_NULL (python#157067)
  pythongh-156774: Speed up pdb startup with asyncio guard (python#156775)
  pythongh-156109: Allow static, non-framework iOS builds (python#156110)
  pythongh-156780: Emscripten: add missing EM_JS_DEPS (python#156798)
  pythongh-152936: Make privileged functions available on Android (python#152977)
  pythongh-123018: Keep the libedit history file header when truncating (pythonGH-157165)
  ...
clin1234 pushed a commit to clin1234/cpython that referenced this pull request Sep 12, 2026
johnslavik pushed a commit to johnslavik/cpython that referenced this pull request Sep 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL