Skip to content

Conversation

@Tinche
Copy link
Member

@Tinche Tinche commented Jun 2, 2025

No description provided.

@Tinche Tinche force-pushed the tin/3.14 branch 2 times, most recently from c67f121 to cd4c006 Compare June 2, 2025 12:25
@encukou
Copy link

encukou commented Aug 15, 2025

Python 3.14.0rc2 adds a workaround to remove the “bad” __subclasses__ entries in dataclasses with __slots__.

@Tinche
Copy link
Member Author

Tinche commented Aug 16, 2025

Python 3.14.0rc2 adds a workaround to remove the “bad” __subclasses__ entries in dataclasses with __slots__.

Sweet, thanks for letting me know. I might still keep the current filter in, since that may allow us to skip the gc in the future. Letting the original classes be garbage collected again is definitely important for third-party user code out in the wild, though.

@Tinche Tinche added this to the 25.3 milestone Oct 5, 2025
@Tinche Tinche merged commit 88af007 into main Oct 6, 2025
13 checks passed
@Tinche Tinche deleted the tin/3.14 branch October 6, 2025 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python 3.14.0a4: TypeError: <class '…'> has no usable non-default attributes

3 participants