Python 3.13.0a3 metaclass __call__
runs only once
#114806
Labels
3.13
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
release-blocker
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
Metaclass
__call__
is expected to run everytime a class is instantiated but in Python 3.13 it only run once.Minimal reproducer:
On python 3.12, the output is:
On python 3.13 (docker image
3.13.0a3-bullseye
), the output is unexpectedly:CPython versions tested on:
3.12, 3.13
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: