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.20:17:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647375475.84.0.364862935986.issue46404@roundup.psfhosted.org>
In-reply-to
Content
In my opinion, we should keep it simple for attrs and dataclasses to fix closure cells when a class is replaced and therefore it seems to be correct to have it mutable as it currently is in 3.11.

My plan is to implement the fix for dataclasses and some tests for these use cases so the behavior should not change in the future. For attrs it means one more branch in the code now but much simpler code when the support for older releases gets dropped.

Any other opinions?
History
Date User Action Args
2022-03-15 20:17:55frenzysetrecipients: + frenzy, eric.smith, petr.viktorin, eric.snow, hynek, tinchester, Dennis Sweeney
2022-03-15 20:17:55frenzysetmessageid: <1647375475.84.0.364862935986.issue46404@roundup.psfhosted.org>
2022-03-15 20:17:55frenzylinkissue46404 messages
2022-03-15 20:17:55frenzycreate