Skip to content

Commit 6c7bf15

Browse files
committed
add comment
1 parent 014c2b5 commit 6c7bf15

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

python/deps/untypy/untypy/util/wrapper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ class ReadOnlyDict(dict):
186186
update = _readonly
187187
setdefault = _readonly
188188

189+
# FIXME: get rid off patch. Its evil to change the class of an object after its creation.
190+
# Further, it causes issues with the GC of python 3.13.
191+
189192
def patch(self, ty, extra):
190193
# SW (2024-10-18): With python 3.13 there is the behavior that extra is modified after patching
191194
# the object. I never found out who is doing the modification. By wrapping extra with

0 commit comments

Comments
 (0)