From 05c213c4e186b07151ef928b1398948e7ca919f9 Mon Sep 17 00:00:00 2001 From: Anatoliy Brezitskiy Date: Mon, 9 Dec 2024 15:07:13 -0700 Subject: [PATCH 1/2] Add special attributes added in python 3.13 https://docs.python.org/3/reference/datamodel.html#special-attributes --- pure_interface/interface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pure_interface/interface.py b/pure_interface/interface.py index f97114a..fc39ff0 100644 --- a/pure_interface/interface.py +++ b/pure_interface/interface.py @@ -137,6 +137,8 @@ def _builtin_attrs(name: str) -> bool: "_abc_negative_cache", "_pi", "_pi_unwrap_decorators", + "__firstlineno__", + "__static_attributes__", ) From 1395433810d07e6360278652551d14efdff593a7 Mon Sep 17 00:00:00 2001 From: Anatolii Brezitskyi Date: Tue, 10 Dec 2024 09:09:39 -0700 Subject: [PATCH 2/2] `__type_params__` added --- pure_interface/interface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pure_interface/interface.py b/pure_interface/interface.py index fc39ff0..bd9e50d 100644 --- a/pure_interface/interface.py +++ b/pure_interface/interface.py @@ -137,6 +137,7 @@ def _builtin_attrs(name: str) -> bool: "_abc_negative_cache", "_pi", "_pi_unwrap_decorators", + "__type_params__", "__firstlineno__", "__static_attributes__", )