➜

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
收信人 Martin.Teichmann, abarry, berker.peksag, ncoghlan, python-dev
日期 2016-07-31.02:46:45
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1469933205.79.0.893952610015.issue27366@psf.upfronthosting.co.za>
In-reply-to
内容
The new porting note doesn't quite capture all the subtleties of the situation, but should be sufficient for folks to get any affected custom metaclasses working again (since the key is to avoid passing those parameters up to type.__new__).

I also added a note about the fact that __init_subclass__ implementations don't have access to the metaclass hint, but can retrieve the actual metaclass based on the passed in class object.
历史
日期 用户 动作 参数
2016-07-31 02:46:45ncoghlan修改recipients: + ncoghlan, python-dev, berker.peksag, Martin.Teichmann, abarry
2016-07-31 02:46:45ncoghlan修改messageid: <1469933205.79.0.893952610015.issue27366@psf.upfronthosting.co.za>
2016-07-31 02:46:45ncoghlan链接issue27366 messages
2016-07-31 02:46:45ncoghlan创建