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

Turn mypyc on for ~all substantial code #6851

Merged
merged 4 commits into from
May 19, 2019
Merged

Turn mypyc on for ~all substantial code #6851

merged 4 commits into from
May 19, 2019

Conversation

msullivan
Copy link
Collaborator

With *args support landed (and a few other recent improvements),
we can now turn mypyc on for basically everything.

This includes:

  • BuildManagerBase goes away and gets merged back into BuildManager. mypyc_hacks.py is removed
  • main.py can be compiled. (SplitNamespace needs to be pulled out because it uses __getattr__/__setattr__ in ways we don't support yet)
  • dmypy can be compiled. Unfortunately extension modules can't be run as scripts, so we move dmypy.py to dmypy/client.py and add an interpreted dmypy/__main__.py
  • A few other minor modules get added in

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a big milestone!

@msullivan msullivan merged commit 10ad1af into master May 19, 2019
@msullivan msullivan deleted the more-mypyc branch May 19, 2019 21:45
JukkaL added a commit that referenced this pull request May 20, 2019
emmatyping added a commit that referenced this pull request Jun 21, 2019
This fixes an issue with dmypy run not working on Windows introduced in #6851.
JelleZijlstra pushed a commit to JelleZijlstra/mypy that referenced this pull request Jun 22, 2019
This fixes an issue with dmypy run not working on Windows introduced in python#6851.
PattenR pushed a commit to PattenR/mypy that referenced this pull request Jun 23, 2019
With *args support landed (and a few other recent improvements),
we can now turn mypyc on for basically everything.

This includes:
 * `BuildManagerBase` goes away and gets merged back into `BuildManager`. `mypyc_hacks.py` is removed
 * `main.py` can be compiled. (`SplitNamespace` needs to be pulled out because it uses `__getattr__/__setattr__` in ways we don't support yet)
 * dmypy can be compiled. Unfortunately extension modules can't be run as scripts, so we move `dmypy.py` to `dmypy/client.py` and add an interpreted `dmypy/__main__.py`
 * A few other minor modules get added in
PattenR pushed a commit to PattenR/mypy that referenced this pull request Jun 23, 2019
This fixes an issue with dmypy run not working on Windows introduced in python#6851.
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

Successfully merging this pull request may close these issues.

2 participants