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.

作者 ncoghlan
收信人 Eric Appelt, docs@python, mark.dickinson, ncoghlan, remi.lapeyre, xtreak
日期 2019-01-13.07:47:32
SpamBayes Score -1.0
Marked as misclassified
Message-id <1547365652.5.0.498996648744.issue33039@roundup.psfhosted.org>
In-reply-to
内容
@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;").
历史
日期 用户 动作 参数
2019-01-13 07:47:34ncoghlan修改recipients: + ncoghlan, mark.dickinson, docs@python, Eric Appelt, remi.lapeyre, xtreak
2019-01-13 07:47:32ncoghlan修改messageid: <1547365652.5.0.498996648744.issue33039@roundup.psfhosted.org>
2019-01-13 07:47:32ncoghlan链接issue33039 messages
2019-01-13 07:47:32ncoghlan创建