NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #4856 most downloaded on PyPI
Python type inferencer
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 5 months
Rarely documented
notes for 1 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
204 releases · first in 2018
Automatically add a .gitignore file to the pytype output directory.
Support using a union to filter types out of a type parameter.
attr.ib(default=()).One column per quarter.
Treat classes whose metaclass inherits from type(Protocol) as abstract.
Update typeshed pin to commit fae6bda from October 12.
Support typing_extensions.Literal in source files.
Support # type: ignore[errorcode, ...] in pyi files.
# type: ignore[errorcode, ...] in pyi files.Drop support for running pytype under Python 3.5.
Add runtime_checkable to typing.pytd.
Fix a bug in attaching function type comments to opcodes.
py -x.y instead of pythonx.y for windows.Fix a bug involving multiple super calls.
Fix a parser bug when importing and re-exporting a submodule.
python -m ninja instead of ninja.Have check_py and generate_pyi accept a source string instead of a filename.
Let multiple PyTDFunction signatures match when *args/kwargs is present.
Allow # type: ignore in more places in pyi files.
# type: ignore in more places in pyi files.Support aliases to unions with type parameters.
Allow typing.AnyStr to be used to parameterize custom generic classes.
pyi parser: allow aliases inside a class to values outside the class.
pyi parser: support importing TypedDict from typing_extensions.
Populate the cls arg in classmethods with the class type.
cls arg in classmethods with the class type.Treat objects as True in a boolean context, unless explicitly overridden.
cls is Foo as ambiguous.Update typeshed pin to commit 5fe6a5b from May 18.
Check attrs default values against annotations.
Drop support for analyzing Python 3.4.
Drop support for running pytype under Python 2.
Do some test restructuring and cleanup.
Fix a couple of pytype crashes.
Stop rewriting (x: X = None) to (x: Optional[X] = None).
Update typeshed pin to commit d5851ec from January 24.
Don't fail on mypy-style '# type: ignore[code, ...]' comments.
Support @typing.type_check_only on classes and functions in pyi files.
Improve handling of forward references with type errors.
Improve support for forward references and function type comments.
Update typeshed pin to commit f7f6860 from December 1.
python -m pytype-single.Support using typing.Counter as a generic.
python -m pytype.-j/--jobs option to pytype.Make Python 2 metaclass declarations an error in Python 3.
Update typeshed pin to commit 668988f from September 5.
Update typeshed pin to commit ce0f5b2 from August 22.
Improve the usability of the pytype.io module.
Partially support typing[_extensions].Literal in pyi files.
annotate-ast subtool for annotating ASTs with type information (WIP).Allow trailing commas in lists in type stubs.
Update typeshed pin to commit 40215d1 from July 18.
Update typeshed pin to commit e1e5c83 from July 1.
async def in pyi files.Check exception types in except blocks.
except blocks.Support typing.overload in source files.
Add an xref output mode that creates a (lineno, column) -> type map.
Support extracting pytype types from xref.
Update typeshed pin to commit 50d98ac from May 13.
Fix a bug in pyi lookup of re-exported imports.
Update typeshed pin to commit 4e572ae from April 23.
* Improve typegraph performance.
Support method matching for custom PEP 544 protocols.
Update typeshed pin to commit cfa65b8 from April 8.
Improve Python 3 definitions in pytype's enum and typing stubs.
Require typed_ast only in Python 3.3+.
Simplify the text pytype prints to the terminal.
Support # type: ignore on import lines in pyi files.
# type: ignore on import lines in pyi files.Update typeshed pin to commit afe6656 from March 16.
Make --parse-pyi verify that the AST has been resolved.
typing aliases.Fix bad type definitions for builtins reversed and enumerate.
Make pytype's type stubs loadable in Python 3.4.
Your coding agent can read these notes before it upgrades. Set up the MCP server →