Yury Selivanov added the comment:

Couple of thoughts:

1. "(object_or_name, [bases, dict])" is a signature for the "type" function, 
and yes, on that we need to agree how it looks like. Maybe exactly as you 
proposed, as it is what it is after all.

2. For user-defined metaclasses without __init__ or __new__ (such as "class 
C(type)"), we can just return, IMO, "(name, bases, dict)", as, although, it is 
possible to call "C" with only one argument, it's hardly a good practice, and I 
doubt it very much that someone does such things.

----------

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

Reply via email to