From Python 3, type hinting was prompted. Thanks to this, static type analysis is now available in Python’s world. It is possible to use this mechanism with mypy, intellij etc. In this session we will learn about type hinting in Python 3.5 / 3.6/ 3.7. Next, learn how to use static type analysis using mypy. It is also possible to use mypy not only in Python 3 but also in Python 2. In other words, it is said to demonstrate great power to port Python 2 code to Python 3. In fact there are already successes like the following projects.
Throughout this session, I am pleased that you can think about writing python code and writing tests.
Buzzwords: Python3, TypeHints, mypy
Level: Beginner: Target audiences with basic experience of python programming
Requirements to Audiences: Person who continues to maintain Python code
Speaker: Masato Nakamura (Japan)
Speaker Bio: I am a developer at Nulab in Japan. I use Python and Scala/Java at work. A recent hobby is to rewrite Python 2 code to Python 3.