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

Add ast36 #29

Closed
telendt opened this issue Jan 31, 2017 · 4 comments
Closed

Add ast36 #29

telendt opened this issue Jan 31, 2017 · 4 comments

Comments

@telendt
Copy link

telendt commented Jan 31, 2017

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
@ddfisher
Copy link
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).

@refi64
Copy link

refi64 commented Jan 31, 2017

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

@JelleZijlstra
Copy link
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.

@ddfisher
Copy link
Collaborator

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

tbbharaj pushed a commit to tbbharaj/typed_ast that referenced this issue Dec 6, 2021
Allow zero length data to be passed to block compress
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants