Message415291
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? |
|
Date |
User |
Action |
Args |
2022-03-15 20:17:55 | frenzy | set | recipients:
+ frenzy, eric.smith, petr.viktorin, eric.snow, hynek, tinchester, Dennis Sweeney |
2022-03-15 20:17:55 | frenzy | set | messageid: <1647375475.84.0.364862935986.issue46404@roundup.psfhosted.org> |
2022-03-15 20:17:55 | frenzy | link | issue46404 messages |
2022-03-15 20:17:55 | frenzy | create | |
|