Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Add ast36 #29

Closed
Closed

Description

@telendt

I've just tried mypy --fast-parser --python-version 3.6 on code that utilizes some new Python 3.6 features and it failed.

Breaking features:

  • formatted string literals, PEP 498 -- error: invalid syntax
  • asynchronous generators, PEP 525 -- error: 'yield' in async function
  • asynchronous comprehensions, PEP 530 -- error: invalid syntax

Activity

  1. ddfisher commented on Jan 31, 2017

    @ddfisher
    Collaborator

    Thanks for the bug report. I'm planning on working on full 3.6 support in the next week or two (and documenting how typed_ast will be updated for new Python releases).

  2. refi64 commented on Jan 31, 2017

    @refi64

    F-string are in #22... still... ;)

  3. JelleZijlstra commented on Feb 6, 2017

    @JelleZijlstra
    Member

    I don't think async generators and comprehensions need further work in typed_ast. I have a pending pull request to mypy (python/mypy#2711) to add async generators, and it didn't require typed_ast changes. Async comprehensions work fine for me with the latest release of mypy.

  4. ddfisher commented on Feb 13, 2017

    @ddfisher
    Collaborator

    Fixed as of 1.0.0! Mypy support pending here: python/mypy#2857.

  5. added a commit that references this issue on Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions