Skip to content
This repository was archived by the owner on Sep 3, 2026. It is now read-only.
This repository was archived by the owner on Sep 3, 2026. It is now read-only.

Support PEP 646 - Variadic Generics #1525

Closed

Description

@rchen152

Activity

  1. AlexWaygood commented on Nov 29, 2023

    @AlexWaygood
    Contributor

    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!

  2. rchen152 commented on Nov 29, 2023

    @rchen152
    ContributorAuthor

    I can certainly give it a try.

  3. self-assigned this
    on Nov 29, 2023
  4. rchen152 commented on Dec 7, 2023

    @rchen152
    ContributorAuthor

    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.

  5. AlexWaygood commented on Dec 7, 2023

    @AlexWaygood
    Contributor

    No worries at all -- thanks so much!

  6. rchen152 commented on Dec 8, 2023

    @rchen152
    ContributorAuthor

    Ok, version 2023.12.8 has the Unpack fix =)

  7. AlexWaygood commented on Dec 8, 2023

    @AlexWaygood
    Contributor

    Ok, version 2023.12.8 has the Unpack fix =)

    Thank you so much — both the typeshed changes have been merged now <3

  8. removed their assignment
    on Apr 9, 2024
  9. h-joo commented on Aug 20, 2025

    @h-joo
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions