Message 410841 - Python tracker
Message410841
| Author | hynek |
|---|---|
| Recipients | AlexWaygood, Spencer Brown, ariebovenberg, eric.smith, hynek, sobolevn |
| Date | 2022-01-18.06:11:28 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1642486288.83.0.803009666339.issue46382@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
>>> @attrs.define
... class C(Base):
... a: int
... b: int
...
>>> C.__slots__
('b', '__weakref__')
We've got a test specifically for this use case: https://github.com/python-attrs/attrs/blob/5f36ba9b89d4d196f80147d4f2961fb2f97ae2e5/tests/test_slots.py#L309-L334 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-01-18 06:11:28 | hynek | set | recipients: + hynek, eric.smith, Spencer Brown, sobolevn, AlexWaygood, ariebovenberg |
| 2022-01-18 06:11:28 | hynek | set | messageid: <1642486288.83.0.803009666339.issue46382@roundup.psfhosted.org> |
| 2022-01-18 06:11:28 | hynek | link | issue46382 messages |
| 2022-01-18 06:11:28 | hynek | create | |