You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 3, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 3, 2026. It is now read-only.
As a first step, would it maybe be possible to have pytype gracefully fallback to Any if it sees Unpack[] being used in a type annotation? Currently using Unpack[] anywhere seems to make pytype crash, which is blocking a couple of typeshed PRs (python/typeshed#11015, python/typeshed#11014).
No worries if this is difficult to do, though; there's no great rush here in getting those typeshed PRs merged!
Hi, thank you for your report. Google is shifting its effort to a different approach for type checking apart from pytype, and we're not planning to put in any effort in the near future in pytype, so we'll close this issue. Please see the announcement here.
Activity
AlexWaygood commentedon Nov 29, 2023
As a first step, would it maybe be possible to have pytype gracefully fallback to
Anyif it seesUnpack[]being used in a type annotation? Currently usingUnpack[]anywhere seems to make pytype crash, which is blocking a couple of typeshed PRs (python/typeshed#11015, python/typeshed#11014).No worries if this is difficult to do, though; there's no great rush here in getting those typeshed PRs merged!
rchen152 commentedon Nov 29, 2023
I can certainly give it a try.
Allow typing.Unpack to be parameterized.
rchen152 commentedon Dec 7, 2023
Sorry, it took me a while to get to this. But I should be able to cut a release with a fix for the Unpack crash tomorrow or early next week.
AlexWaygood commentedon Dec 7, 2023
No worries at all -- thanks so much!
Do another PyPI release to get out an Unpack fix that typeshed needs.
rchen152 commentedon Dec 8, 2023
Ok, version 2023.12.8 has the Unpack fix =)
AlexWaygood commentedon Dec 8, 2023
Thank you so much — both the typeshed changes have been merged now <3
Support typing_extensions.Unpack usage in typeshed.
h-joo commentedon Aug 20, 2025
Hi, thank you for your report. Google is shifting its effort to a different approach for type checking apart from pytype, and we're not planning to put in any effort in the near future in pytype, so we'll close this issue. Please see the announcement here.