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 ...
👍1
Сделать проверку корректности заливки
Нужно находить пакеты в опциональных группах.
https://github.com/typeshed-internal/stub_uploader/issues/190
#typing #stubtest_uploader #typeshed
types-*
пакетов из typeshed
.Нужно находить пакеты в опциональных группах.
https://github.com/typeshed-internal/stub_uploader/issues/190
#typing #stubtest_uploader #typeshed
GitHub
Support `[dependency-groups]` · Issue #190 · typeshed-internal/stub_uploader
Right now this check fails when a dependency is in a optional group: def verify_external_req_stubs_require_its_runtime( req: Requirement, upstream_distribution: str | None ) -> None: ""...
🍌1🎅1