Skip to content

Commit 8d15c1c

Browse files
Merge pull request #403 from egraphs-good/saulshanabrook-patch-3
Add __classdictcell__ to ignored attributes (Python 3.14 support)
2 parents 41a910c + c2a26c8 commit 8d15c1c

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

docs/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ _This project uses semantic versioning_
44

55
## UNRELEASED
66

7+
- Add __classdictcell__ to ignored attributes (Python 3.14 support) [#403](https://github.com/egraphs-good/egglog-python/pull/403)
78
## 13.0.0 (2026-03-03)
89

910
- Support using facts as union actions, add conversions to multisets, and update multiset example [#382](https://github.com/egraphs-good/egglog-python/pull/382)

python/egglog/egraph.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@
130130
"__firstlineno__",
131131
"__static_attributes__",
132132
"__match_args__",
133+
# Added in 3.14
134+
# https://egraphs.zulipchat.com/#narrow/channel/375765-egg.2Fegglog/topic/Cost.20function.3A.20using.20function.20values.20of.20subtrees/near/577236488
135+
"__classdictcell__",
133136
# Ignore all reflected binary method
134137
*(f"__r{m[2:]}" for m in NUMERIC_BINARY_METHODS),
135138
}

0 commit comments

Comments
 (0)