Skip to content

[3.13] gh-144330: Initialize classmethod and staticmethod in new (GH-144498)#144537

Merged
vstinner merged 1 commit intopython:3.13from
miss-islington:backport-160810d-3.13
Feb 6, 2026
Merged

[3.13] gh-144330: Initialize classmethod and staticmethod in new (GH-144498)#144537
vstinner merged 1 commit intopython:3.13from
miss-islington:backport-160810d-3.13

Conversation

@miss-islington
Copy link
Contributor

gh-144330: Initialize classmethod and staticmethod in new

Initialize cm_callable and sm_callable to None in classmethod and
staticmethod constructor.
(cherry picked from commit 160810d)

Co-authored-by: Victor Stinner vstinner@python.org
Co-authored-by: Aniket Singh Yadav singhyadavaniket43@gmail.com
Co-authored-by: Stan Ulbrych 89152624+StanFromIreland@users.noreply.github.com

pythonGH-144498)

pythongh-144330: Initialize classmethod and staticmethod in new

Initialize cm_callable and sm_callable to None in classmethod and
staticmethod constructor.
(cherry picked from commit 160810d)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Aniket Singh Yadav <singhyadavaniket43@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@vstinner vstinner enabled auto-merge (squash) February 6, 2026 09:27
@vstinner vstinner merged commit b6c6cd6 into python:3.13 Feb 6, 2026
41 checks passed
@miss-islington miss-islington deleted the backport-160810d-3.13 branch February 6, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants