From a38f61dfbe123d340862690bd94f340f380e6a84 Mon Sep 17 00:00:00 2001 From: Saul Shanabrook Date: Wed, 4 Mar 2026 09:24:33 -0800 Subject: [PATCH 1/2] Add __classdictcell__ to ignored attributes (Python 3.14 support) https://egraphs.zulipchat.com/#narrow/channel/375765-egg.2Fegglog/topic/Cost.20function.3A.20using.20function.20values.20of.20subtrees/near/577236488 --- python/egglog/egraph.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/egglog/egraph.py b/python/egglog/egraph.py index ed9b69ba..2dc75985 100644 --- a/python/egglog/egraph.py +++ b/python/egglog/egraph.py @@ -130,6 +130,9 @@ "__firstlineno__", "__static_attributes__", "__match_args__", + # Added in 3.14 + # https://egraphs.zulipchat.com/#narrow/channel/375765-egg.2Fegglog/topic/Cost.20function.3A.20using.20function.20values.20of.20subtrees/near/577236488 + "__classdictcell__", # Ignore all reflected binary method *(f"__r{m[2:]}" for m in NUMERIC_BINARY_METHODS), } From c2a26c80edd2298764f9b3914ec06f1acd870741 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 4 Mar 2026 17:27:40 +0000 Subject: [PATCH 2/2] Add changelog entry for PR #403 --- docs/changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/changelog.md b/docs/changelog.md index bc326a05..328f336c 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -4,6 +4,7 @@ _This project uses semantic versioning_ ## UNRELEASED +- Add __classdictcell__ to ignored attributes (Python 3.14 support) [#403](https://github.com/egraphs-good/egglog-python/pull/403) ## 13.0.0 (2026-03-03) - Support using facts as union actions, add conversions to multisets, and update multiset example [#382](https://github.com/egraphs-good/egglog-python/pull/382)