Skip to content

Commit af2cdc8

Browse files
Merge pull request #262 from orenht/add_python3.13_support
Fix python 3.13 support
2 parents e15557b + 9c45e29 commit af2cdc8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

python/egglog/egraph.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@
114114
"__annotations__",
115115
"__hash__",
116116
"__qualname__",
117+
"__firstlineno__",
118+
"__static_attributes__",
117119
# Ignore all reflected binary method
118120
*REFLECTED_BINARY_METHODS.keys(),
119121
}

python/egglog/runtime.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ def __getattr__(self, name: str) -> RuntimeFunction | RuntimeExpr | Callable:
229229
# Origin is used in get_type_hints which is used when resolving the class itself
230230
"__origin__",
231231
"__typing_unpacked_tuple_args__",
232+
"__typing_is_unpacked_typevartuple__",
232233
}:
233234
raise AttributeError
234235

0 commit comments

Comments
 (0)