Skip to content

New semantic analyzer: dummy alias definitions in typing stub (List etc.) #6297

Closed

Description

@JukkaL

Support definitions for built-in type aliases List, Set in the stub for typing. Currently these don't work, which is a problem since typeshed includes these, whereas test fixtures don't.

Activity

  1. ilevkivskyi commented on Feb 5, 2019

    @ilevkivskyi
    Member

    FWIW I just whitelisting some test cases to the new semantic analyzer, and it looks like many of them are blocked by this:

    Actual:
      tmp/builtins.pyi:1: error: Module 'typing' has no attribute 'List' (diff)
      tmp/builtins.pyi:1: error: Module 'typing' has no attribute 'Set' (diff)
    

    I will work on this next to unblock the situation.

  2. self-assigned this
    on Feb 5, 2019
  3. JukkaL commented on Feb 5, 2019

    @JukkaL
    CollaboratorAuthor

    Note that my current working branch makes changes to how the aliases are handled.

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions