Navigating the Python Type Jungle
By: Andrei Nacu, Dorel Lucanu
Potential Business Impact:
Makes Python code easier to understand and fix.
Python's typing system has evolved pragmatically into a powerful but theoretically fragmented system, with scattered specifications. This paper proposes a formalization to address this fragmentation. The central contribution is a formal foundation that uses concepts from type theory to demonstrate that Python's type system can be elegantly described. This work aims to serve as a crucial first step toward the future development of type inference tools.
Similar Papers
An Enumerative Embedding of the Python Type System in ACL2s
Programming Languages
Finds hidden bugs in computer programs.
Toward a Corpus Study of the Dynamic Gradual Type
Programming Languages
Helps programmers write code that's easier to fix.
RightTyper: Effective and Efficient Type Annotation for Python
Programming Languages
Finds mistakes in computer code automatically.