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.

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
2 participants