This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author frenzy
Recipients Dennis Sweeney, eric.smith, eric.snow, frenzy, hynek, petr.viktorin, tinchester
Date 2022-03-15.22:50:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
We have the same problem reported in attrs here in dataclasses and because it's not tested the way to manipulate __closure__ cells changes frequently.

My plan is to implement something similar to this into dataclasses:

Basically, when a new dataclass is created (with slots=True), look for references to the original class and fix them.

This fixes the problem reported to attrs in dataclasses and when we fix it and add some tests for it, the future behavior should be more stable.

What do you think?
Date User Action Args
2022-03-15 22:50:14frenzysetrecipients: + frenzy, eric.smith, petr.viktorin, eric.snow, hynek, tinchester, Dennis Sweeney
2022-03-15 22:50:14frenzysetmessageid: <>
2022-03-15 22:50:14frenzylinkissue46404 messages
2022-03-15 22:50:13frenzycreate