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 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:28hyneksetrecipients: + hynek, eric.smith, Spencer Brown, sobolevn, AlexWaygood, ariebovenberg
2022-01-18 06:11:28hyneksetmessageid: <1642486288.83.0.803009666339.issue46382@roundup.psfhosted.org>
2022-01-18 06:11:28hyneklinkissue46382 messages
2022-01-18 06:11:28hynekcreate