mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-07-07 05:33:48 +00:00
Changelog: ========== - Added support for passing a tuple as expected_type to check_type(), making it more of a drop-in replacement for isinstance() - Fixed regression where Literal inside a Union had quotes stripped from its contents, thus typically causing NameError to be raised when run - Fixed handling of typing_extensions.Literal on Python 3.8 and 3.9 when typing_extensions>=4.6.0 is installed - Fixed NameError when generated type checking code references an imported name from a method - Fixed docstrings disappearing from instrumented functions - Fixed @typechecked failing to instrument functions when there are more than one function within the same scope - Fixed frozenset not being checked Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>