- Notifications
You must be signed in to change notification settings - Fork289
A static type analyzer for Python code
License
google/pytype
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
TL;DR: The last supported Python version for Pytype will be 3.12. We arestill very actively interested in the space of Python type checking, butshifting our investments towards new ideas and different frameworks.
Pytype's development began in 2012 to meet Google developers' demand forcompile-time checking. Pytype started with using type inference and interfacefiles, and then switched to inline annotations (while retaining the inferenceengine) after the acceptance of PEP 484. Later, pytype's team collaborated withGuido and mypy to create typeshed, a central repository for type annotations.
While pytype has been effective, its bytecode-based design has presentedchallenges in implementing new features (e.g. faster adoption of new typingPEPs) due to bytecode’s inherent instability and propensity to change.Consequently, we intend to focus our investments on exploring new typingapproaches that are better suited for Google’s Python user base and makePython 3.12 the last supported version for pytype.
We encourage folks to investigate the mature and excellent alternative solutionsfor Python typing going forward. We would like to note that the Python typingecosystem is very robust now, offering a wider array of mature solutions (seeFAQ).
The creation and development of pytype was a collaborative effort, and we wouldlike to thank all contributors to pytype, especially the four main contributors:Rebecca Chen, Martin DeMello, Teddy Sudol, and initial lead Matthias Kramm.We particularly recognize Rebecca Chen for her decade-long commitment to pytypeand her significant contributions to Python's type system as a long-standingmember of the typing council.
About
A static type analyzer for Python code
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.