Skip to content

gh-138010: Fix __init_subclass__ forwarding by warnings.deprecated - #138210

Merged
JelleZijlstra merged 2 commits into
python:mainfrom
brianschubert:gh-138010-deprecated-init-subclass
Sep 5, 2025
Merged

gh-138010: Fix __init_subclass__ forwarding by warnings.deprecated#138210
JelleZijlstra merged 2 commits into
python:mainfrom
brianschubert:gh-138010-deprecated-init-subclass

Conversation

@brianschubert

@brianschubert brianschubert commented Aug 27, 2025

Copy link
Copy Markdown
Contributor
@JelleZijlstra JelleZijlstra added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Sep 5, 2025
@JelleZijlstra
JelleZijlstra enabled auto-merge (squash) September 5, 2025 20:44
@JelleZijlstra
JelleZijlstra merged commit e2c038f into python:main Sep 5, 2025
53 checks passed
@miss-islington-app

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 5, 2025
…ecated` (pythonGH-138210)

(cherry picked from commit e2c038f)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
@miss-islington-app

Copy link
Copy Markdown

Sorry, @brianschubert and @JelleZijlstra, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker e2c038f5be2df39a7b06364dec0836a25c423b67 3.13
@bedevere-app

bedevere-app Bot commented Sep 5, 2025

Copy link
Copy Markdown

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

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Sep 5, 2025
@JelleZijlstra

Copy link
Copy Markdown
Member

@brianschubert are you interested in manually doing the 3.13 backport?

@brianschubert

Copy link
Copy Markdown
Contributor Author

@JelleZijlstra sure, taking a look now

brianschubert added a commit to brianschubert/cpython that referenced this pull request Sep 5, 2025
…gs.deprecated` (pythonGH-138210)

(cherry picked from commit e2c038f)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
@bedevere-app

bedevere-app Bot commented Sep 5, 2025

Copy link
Copy Markdown

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

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Sep 5, 2025
JelleZijlstra pushed a commit that referenced this pull request Sep 5, 2025
lkollar pushed a commit to lkollar/cpython that referenced this pull request Sep 9, 2025
JelleZijlstra pushed a commit that referenced this pull request Oct 8, 2025
…recated` (GH-138210) (#138561)

gh-138010: Fix `__init_subclass__` forwarding by `warnings.deprecated` (GH-138210)
(cherry picked from commit e2c038f)

Co-authored-by: Brian Schubert <brianm.schubert@g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants