https://github.com/python/cpython/issues/133956
Интересная задача про интроспекцию
#cpython #typing
Интересная задача про интроспекцию
ClassVar
в dataclasses
#cpython #typing
GitHub
`dataclasses`: Synthetic `__init__` method on dataclass has broken `ClassVar` annotation under some conditions. · Issue #133956…
Bug report Bug description: When using automatically-stringified annotations (from __future__ import annotations), typing_extensions.ClassVar is not treated the same as typing.ClassVar even though ...