Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow unpacking from TypeVars with iterable bounds #13425

Merged
merged 3 commits into from Aug 19, 2022

Commits on Aug 15, 2022

  1. Allow unpacking from TypeVars by resolving bounds

    TypeVars aren't iterable, but their bounds might be!
    Resolve a TypeVar to its bounds before trying to decide how to unpack
    one of its instances.
    
    Fixes python#13402.
    tdsmith committed Aug 15, 2022
    Copy the full SHA
    7df6183 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. Reveal types of a and b

    tdsmith committed Aug 17, 2022
    Copy the full SHA
    2224a5a View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    529c571 View commit details
    Browse the repository at this point in the history