Message208513
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. |
|
Date |
User |
Action |
Args |
2014-01-19 23:44:22 | yselivanov | set | recipients:
+ yselivanov, brett.cannon, ncoghlan, larry |
2014-01-19 23:44:22 | yselivanov | set | messageid: <1390175062.05.0.856103873372.issue20308@psf.upfronthosting.co.za> |
2014-01-19 23:44:22 | yselivanov | link | issue20308 messages |
2014-01-19 23:44:21 | yselivanov | create | |
|