Message 415453 - Python tracker
Message415453
| Author | eric.smith |
|---|---|
| Recipients | AlexWaygood, Spencer Brown, ariebovenberg, eric.smith, hynek, serhiy.storchaka, sobolevn |
| Date | 2022-03-17.22:12:19 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1647555139.71.0.132483257587.issue46382@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
I don't have a problem saying that for a class to be used as a base class for a dataclass, its __slots__ must not be an iterator that's been exhausted. That doesn't seem like a very onerous requirement. I'm also not concerned about people using __slots__ to iterate over the fields, but I agree that a documentation note couldn't hurt. @ariebovenberg: go ahead and submit your PR. Thanks! |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-03-17 22:12:19 | eric.smith | set | recipients: + eric.smith, hynek, serhiy.storchaka, Spencer Brown, sobolevn, AlexWaygood, ariebovenberg |
| 2022-03-17 22:12:19 | eric.smith | set | messageid: <1647555139.71.0.132483257587.issue46382@roundup.psfhosted.org> |
| 2022-03-17 22:12:19 | eric.smith | link | issue46382 messages |
| 2022-03-17 22:12:19 | eric.smith | create | |