Nick Coghlan added the comment:

Unfortunately, it's not that simple, as calling type(name, bases, namespace) is 
*exactly* what a subclass will do as part of creating the type object.

>From inside the type implementation, we can't tell the difference between 
>"properly called from the child type" and "improperly called without preparing 
>the namespace first".

----------

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

Reply via email to