Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python3-typeguard: upgrade 4.1.3 -> 4.1.5
Changelog: ========= -Fixed Callable erroneously rejecting a callable that has the requested amount of positional arguments but they have defaults -Fixed a regression introduced in v4.1.4 where the elements of Literal got quotes removed from them by the AST transformer -Fixed AttributeError where the transformer removed elements from a PEP 604 union -Fixed AttributeError: 'Subscript' object has no attribute 'slice' when encountering an annotation with a subscript containing an ignored type (imported within an if TYPE_CHECKING: block) -Fixed type checking not being skipped when the target is a union (PEP 604 or typing.Union) where one of the elements is an ignored type (shadowed by an argument, variable assignment or an if TYPE_CHECKING import) (openembedded#394, openembedded#395) -Fixed type checking of class instances created in __new__() in cases such as enums where this method is already invoked before the class has finished initializing Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Loading branch information