Nick Coghlan added the comment:

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.

----------
resolution:  -> fixed
stage: needs patch -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27366>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to