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.