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
收信人 amaury.forgeotdarc, benjamin.peterson, daniel.urban, georg.brandl, gvanrossum, ncoghlan, pwerneck, rodsenra, terry.reedy
日期 2011-04-21.16:36:46
SpamBayes Score 1.5736059e-06
Marked as misclassified
Message-id <1303403807.45.0.804676159046.issue1294232@psf.upfronthosting.co.za>
In-reply-to
内容
As near as I can tell, the only visible behavioural change with Daniel's patch (updated as per my last comment) will be that the two error cases noted above (i.e. when an explicit metaclass or the first parent type's metaclass is not the most derived metaclass) will now correctly invoke the real metaclass immediately, instead of first traversing up the chain to type(), which then jumps all the way back down to the most derived metaclass.

The "new" special case is actually just a matter of preserving the current behaviour in the one situation where that is the right thing to do.
历史
日期 用户 动作 参数
2011-04-21 16:36:47ncoghlan修改recipients: + ncoghlan, gvanrossum, georg.brandl, terry.reedy, amaury.forgeotdarc, rodsenra, pwerneck, benjamin.peterson, daniel.urban
2011-04-21 16:36:47ncoghlan修改messageid: <1303403807.45.0.804676159046.issue1294232@psf.upfronthosting.co.za>
2011-04-21 16:36:46ncoghlan链接issue1294232 messages
2011-04-21 16:36:46ncoghlan创建