Skip to content

Published 1.1.94

Compare
Choose a tag to compare
@erictraut erictraut released this 09 Dec 20:46

Bug Fix: Fixed potential source of infinite recursion in type evaluator.

Behavior Change: Changed behavior of tuples to strip literals when converting the variadic list of type arguments into a single "effective" type argument. This means the expression list((1,)) will now be evaluated as type list[int] rather than list[Literal[1]].

Bug Fix: Fixed bug in parser that generated an inappropriate syntax error when an annotated variable assignment included a star test list on the RHS with an unpack operator.

Enhancement: Added support for context managers that are designed to suppress exceptions.

Bug Fix: Fix infinite recursion in logic that maps pyi files to py files.

Enhancement: Improved source maps for better stack traces, useful for bug reports.