Message 415291 - Python tracker
Message415291
| 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: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 | |