You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make typed_ast mypy's default and only parser #1353
Currently, typed_ast is mypy's preferred parser (as it's much faster, more correct, and supports features like multiline type comments), but it is not yet mypy's default parser. The main blocker to this is Windows support.
Here are the high-level items remaining:
make typed_ast compile and run correctly on Windows
autobuild Windows wheels with AppVeyor
[optional] autobuild OS X wheels in TravisCI
update tests to account for minor line differences between typed_ast and the current parser
After this is complete, we can start converting mypy to use typed_ast's ast (which is very similar to the official python ast) node by node (which will further help perf).
@ddfisher: I've created a label "New Parser" and added it to all issues that look like they would be fixed by the new parser or could be fixed once the new parser is the only parser.
Since typed_ast now supports Windows fully, would there be interest in me working on appveyor integration? I know it was tried previously, but once this is completed, I see no reason why it shouldn't be added.
Activity
ddfisher commentedon Apr 8, 2016
After this is complete, we can start converting mypy to use typed_ast's ast (which is very similar to the official python ast) node by node (which will further help perf).
ddfisher commentedon Apr 12, 2016
typed_astcode now available at https://github.com/dropbox/typed_astgvanrossum commentedon May 6, 2016
@ddfisher: I've created a label "New Parser" and added it to all issues that look like they would be fixed by the new parser or could be fixed once the new parser is the only parser.
[-]Switch to a faster parser based on CPython's ast module[/-][+]Make typed_ast mypy's default and only parser[/+]ddfisher commentedon Oct 19, 2016
The progress of making typed_ast compile and run on Windows is being tracked in this issue: python/typed_ast#20
emmatyping commentedon Jan 6, 2017
Since typed_ast now supports Windows fully, would there be interest in me working on appveyor integration? I know it was tried previously, but once this is completed, I see no reason why it shouldn't be added.
gvanrossum commentedon Jan 6, 2017
Yes @ethanhs we would it if you could contribute Appveyor integration! I once tried but didn't understand how it was supposed to work.
Turn --fast-parser on by default (#2734)