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 jaraco
Recipients ariebovenberg, jaraco
Date 2022-01-04.00:13:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641255188.59.0.829562527905.issue46246@roundup.psfhosted.org>
In-reply-to
Content
Perhaps it is a mistake. The `__slots__` were added as a (possible premature) optimization in [this conversation](https://github.com/python/importlib_metadata/pull/278/files#r565475347).

It's not obvious to me what the danger is in defining __slots__ in a child class but not in a parent. Can you point me to resources or examples that help me understand the concern or missed expectation? The primary motivation behind defining slots is to help ensure immutability.  Does the lack of slots violate that expectation?

Convince me of the value of fixing this concern and please feel free to proceed with a PR.
History
Date User Action Args
2022-01-04 00:13:08jaracosetrecipients: + jaraco, ariebovenberg
2022-01-04 00:13:08jaracosetmessageid: <1641255188.59.0.829562527905.issue46246@roundup.psfhosted.org>
2022-01-04 00:13:08jaracolinkissue46246 messages
2022-01-04 00:13:08jaracocreate