Author yselivanov
Recipients brett.cannon, larry, ncoghlan, yselivanov
Date 2014-01-19.23:44:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390175062.05.0.856103873372.issue20308@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-01-19 23:44:22yselivanovsetrecipients: + yselivanov, brett.cannon, ncoghlan, larry
2014-01-19 23:44:22yselivanovsetmessageid: <1390175062.05.0.856103873372.issue20308@psf.upfronthosting.co.za>
2014-01-19 23:44:22yselivanovlinkissue20308 messages
2014-01-19 23:44:21yselivanovcreate