We’ve just uploaded mypy 0.521 to PyPI. This is a bugfix release containing no new features, only fixes for some important bugs and regressions in 0.520. You can install it as follows:
python3 -m pip install --upgrade mypy
Mypy Bugs Fixed
- Fix crash on name collision for self attributes (Ivan Levkivskyi, PRs 3700 and 3719)
- Fix bug in cache updates and improve cache logging (PR 3708)
- Fix per-file strict Optional interaction with default-None args (PR 3686)
- Fix crash in --quick mode when aliases are re-exported (Ivan Levkivskyi, PR 3740)
- Fix crash on incompatible redefinition in named tuple (Ivan Levkivskyi, PR 3760)
Typeshed Bugs Fixed
Acknowledgments
First of all, I’d like to thank my employer Dropbox for funding the mypy core team.
Thanks to all mypy contributors who contributed to this release:
- Ivan Levkivskyi
Additional thanks to all contributors to typeshed for this release:
- Thomas Grainger
— Jukka (on behalf of the rest of the mypy team: Guido, David and Greg)