Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mypy integration for type inference and combined 2+3 codebase #27

Open
alanjds opened this issue Aug 18, 2018 · 1 comment
Open

Mypy integration for type inference and combined 2+3 codebase #27

alanjds opened this issue Aug 18, 2018 · 1 comment

Comments

@alanjds
Copy link
Owner

alanjds commented Aug 18, 2018

This looks fantastic.

@JukkaL on the mypy team is looking at a static compile capability using mypy here : python/mypy#1862

Referencing pyir ideas here: https://docs.google.com/document/d/1jGksgI96LdYQODa9Fca7EttFEGQfNODphVmbCX0DD1k/edit

Perhaps these efforts could be combined so that a standard mypy/python typed IR can be emmited that grumpy can consume?

This would have the following advantages:

  1. Integration with type hints for large codebases
  2. improved type inference for fast code
  3. Potentially making 2+3 support easier
  4. development synergy with dropbox (and maybe other players below)

I might be dreaming but perhaps Pyjion (@brettcannon et al) and Numba (@seibert, @pzwang et al) can get in on this as well. I think it would be mutually beneficial for python and it's users.

@alanjds
Copy link
Owner Author

alanjds commented Aug 18, 2018

Comment by datnamer
Wednesday Jan 11, 2017 at 15:29 GMT


For py3 the new variable annotation and frame eval api might help here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant