Message208511
Please take a look at the attached patch (signature_plain_cls_01.patch)
Now, the patch addresses two kind of classes:
class C: pass
and
class C(type): pass
For metaclasses, signature will return a signature with three positional-only parameters - (name, bases, dct). [let's discuss this]
The patch doesn't address 'object' or 'type' objects directly, though, so 'signature(object)' and 'signature(type)' are still a ValueError. |
|
Date |
User |
Action |
Args |
2014-01-19 23:32:07 | yselivanov | set | recipients:
+ yselivanov, brett.cannon, ncoghlan, larry |
2014-01-19 23:32:07 | yselivanov | set | messageid: <1390174327.31.0.677247455002.issue20308@psf.upfronthosting.co.za> |
2014-01-19 23:32:07 | yselivanov | link | issue20308 messages |
2014-01-19 23:32:07 | yselivanov | create | |
|