From d907bc26a62fff31084f64bcce89eff679730e94 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Mon, 11 May 2026 12:37:03 +0300 Subject: [PATCH 1/2] Fix CI and `annotationlib` --- stdlib/annotationlib.pyi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stdlib/annotationlib.pyi b/stdlib/annotationlib.pyi index 3679dc29daaa..96450e441be7 100644 --- a/stdlib/annotationlib.pyi +++ b/stdlib/annotationlib.pyi @@ -41,10 +41,12 @@ if sys.version_info >= (3, 14): "__cell__", "__owner__", "__stringifier_dict__", + "__resolved_str_cache__", ) __forward_is_argument__: bool __forward_is_class__: bool __forward_module__: str | None + __resolved_str_cache__: str | None def __init__( self, arg: str, *, module: str | None = None, owner: object = None, is_argument: bool = True, is_class: bool = False ) -> None: ... @@ -91,6 +93,8 @@ if sys.version_info >= (3, 14): def __forward_arg__(self) -> str: ... @property def __forward_code__(self) -> types.CodeType: ... + @property + def __resolved_str__(self) -> str: ... def __eq__(self, other: object) -> bool: ... def __hash__(self) -> int: ... def __or__(self, other: Any) -> types.UnionType: ... From 0d7358bccf1f6ba706a1f156dd04754ff38d43a8 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Mon, 11 May 2026 12:42:58 +0300 Subject: [PATCH 2/2] Remove unused ignores --- stdlib/@tests/stubtest_allowlists/py315.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/stdlib/@tests/stubtest_allowlists/py315.txt b/stdlib/@tests/stubtest_allowlists/py315.txt index 910f72b6ae56..e59eb1dbd82d 100644 --- a/stdlib/@tests/stubtest_allowlists/py315.txt +++ b/stdlib/@tests/stubtest_allowlists/py315.txt @@ -47,9 +47,6 @@ annotationlib.ForwardRef.__extra_names__ annotationlib.ForwardRef.__globals__ annotationlib.ForwardRef.__init_subclass__ annotationlib.ForwardRef.__owner__ -annotationlib.ForwardRef.__resolved_str__ -annotationlib.ForwardRef.__resolved_str_cache__ -annotationlib.ForwardRef.__slots__ annotationlib.ForwardRef.__stringifier_dict__ ast.type_param.__init__ # base64.b64decode uses a private sentinel list as the default for parameters whose public types are bool/buffer.