mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-19 16:00:26 +00:00
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) (#394, #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>