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 ncoghlan
Recipients Eric Appelt, docs@python, mark.dickinson, ncoghlan, remi.lapeyre, xtreak
Date 2019-01-13.07:47:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547365652.5.0.498996648744.issue33039@roundup.psfhosted.org>
In-reply-to
Content
@Rémi Aye, filling out derived slots is one of the things PyType_Ready does.

This would need a discussion on python-dev before going ahead and doing it though, as the closest equivalent we have to this right now is the "negative" derivation, where overriding __eq__ without overriding __hash__ implicitly marks the derived class as unhashable (look for "type->tp_hash = PyObject_HashNotImplemented;").
History
Date User Action Args
2019-01-13 07:47:34ncoghlansetrecipients: + ncoghlan, mark.dickinson, docs@python, Eric Appelt, remi.lapeyre, xtreak
2019-01-13 07:47:32ncoghlansetmessageid: <1547365652.5.0.498996648744.issue33039@roundup.psfhosted.org>
2019-01-13 07:47:32ncoghlanlinkissue33039 messages
2019-01-13 07:47:32ncoghlancreate