Skip to content

Commit 9b33e89

Browse files
📜🤖 Added by blurb_it.
1 parent d357716 commit 9b33e89

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
When both *frozen* and *slots* are set to ``True`` in :func:`~dataclasses.dataclass`, added methods ``__setattr__`` and ``__delattr__`` were still referencing the original class, preventing it from being garbage collected and making one of the conditions inside these methods to be always ``False``.

0 commit comments

Comments
 (0)