* Populate the `cls` arg in classmethods with the class type. * Log [not-supported-yet] as soon as a recursive type alias is defined. * pyi parser: allow the 'total' keyword for subclasses of TypedDict. * Make collections.OrderedDict reversible. * Make the behavior of io.open match builtins.open. * Add/fix some opcodes for Python 3.8.
2020.06.26
* Treat objects as True in a boolean context, unless explicitly overridden. * If cls is the class argument of Foo.__new__, treat `cls is Foo` as ambiguous. * Add basic support for third-party flax dataclasses. * Autodetect number of jobs with --jobs auto.
2020.06.01
* Update typeshed pin to commit 5fe6a5b from May 18. * Support callback protocols. * Get rid of the RemoveInheritedMethods pyi optimisation. * (In-progress) Add partial Python 3.8 support.
2020.05.13
* Check attrs default values against annotations. * Add an experimental --check-variable-types mode.
2020.05.07
* Drop support for analyzing Python 3.4. * Add special builtins support for filter(None, xs). * Open-source a developer doc on minor version upgrades. * Improve support for typing.overload. * Improve annotated decorators' handling of classes.
2020.04.22
* Drop support for running pytype under Python 2. * Report [not-supported-yet] when aliasing Union[T, ...]. * Add typing.OrderedDict. * Improve how annotations are tracked and applied. * Allow functions to match types.FunctionType. * Don't report [invalid-typevar] when type() is called on a TypeVar.