python / typed_ast

Modified fork of CPython's ast module that parses `# type:` comments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use PEP 561 style typing information instead of typeshed?

msullivan opened this issue · comments

typeshed isn't versioned at all, and we have made some API changes across versions.

Sounds like a good idea to me.

Why is this in typed_ast?

@gvanrossum I think the idea was to move the stubs for typed_ast from https://github.com/python/typeshed/tree/master/third_party/3/typed_ast to this package.

Oh duh, it's about the typing info for typed_ast itself. :-)

commented

@ethanhs
what the difference between typeshed and the typed_ast , currently we can not use typed_ast ?

@alaalial I don't know what that question means. You can look at the READMEs for the typeshed and typed-ast repos to see what they are about.

As for this issue, I think it's probably no longer worthwhile to merge the typed-ast stubs in this repo, as the typed-ast project is becoming obsolete. The only changes recently have tended to be compilation fixes for new Python versions.