|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changelog:
============
-Add support for PEP 728, supporting the closed keyword argument and the special
__extra_items__ key for TypedDict.
-Add support for PEP 742, adding typing_extensions.TypeIs.
-Drop runtime error when a read-only TypedDict item overrides a mutable one.
Type checkers should still flag this as an error.
-Speedup issubclass() checks against simple runtime-checkable protocols by
around 6% (backporting python/cpython#112717
-Fix a regression in the implementation of protocols where typing.Protocol
classes that were not marked as @runtime_checkable would be unnecessarily
introspected, potentially causing exceptions to be raised if the protocol had
problematic members.
(From OE-Core rev: 91dd6f2878bcdbb6f9ba65927f6c6f981b0b3f1a)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|