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

Support compilation with mypyc #1009

Merged
merged 3 commits into from Oct 30, 2019
Merged

Support compilation with mypyc #1009

merged 3 commits into from Oct 30, 2019

Commits on Oct 30, 2019

  1. Make most of blib2to3 directly typed and mypyc-compatible

    This used a combination of retype and pytype's merge-pyi to do the
    initial merges of the stubs, which then required manual tweaking to
    make actually typecheck and work with mypyc.
    
    Co-authored-by: Sanjit Kalapatapu <sanjitkal@gmail.com>
    Co-authored-by: Michael J. Sullivan <sully@msully.net>
    msullivan and SanjitKal committed Oct 30, 2019
    Copy the full SHA
    5158d0f View commit details
    Browse the repository at this point in the history
  2. Make black able to compile and run with mypyc

    The changes made fall into a couple categories:
     * Fixing actual type mistakes that slip through the cracks
     * Working around a couple mypy bugs (the most annoying of which being
       that we need to add type annotations in a number of places where
       variables are initialized to None
    
    Co-authored-by: Sanjit Kalapatapu <sanjitkal@gmail.com>
    Co-authored-by: Michael J. Sullivan <sully@msully.net>
    msullivan and SanjitKal committed Oct 30, 2019
    Copy the full SHA
    0390508 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    e914ef8 View commit details
    Browse the repository at this point in the history