From: Michael J. Sullivan Date: Wed, 30 Oct 2019 14:29:29 +0000 (-0700) Subject: Support compilation with mypyc (#1009) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/3e60f6d454616a795acb1e3e2b43efa979de4f46?hp=3e60f6d454616a795acb1e3e2b43efa979de4f46 Support compilation with mypyc (#1009) * 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 Co-authored-by: Michael J. Sullivan * 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 Co-authored-by: Michael J. Sullivan ---