Message240669
Discussed with Nick Coghlan.
See attached patch to return `signature(object)` only if both `__new__` and `__init__` are shared with `object`.
Otherwise, raise TypeError indicating built-in types not supported.
https://docs.python.org/3/library/inspect.html#inspect.signature
"Raises ValueError if no signature can be provided, and TypeError if that type of object is not supported." |
|
Date |
User |
Action |
Args |
2015-04-13 17:20:35 | james | set | recipients:
+ james, ncoghlan, larry, yselivanov |
2015-04-13 17:20:35 | james | set | messageid: <1428945635.57.0.78866800296.issue23934@psf.upfronthosting.co.za> |
2015-04-13 17:20:35 | james | link | issue23934 messages |
2015-04-13 17:20:35 | james | create | |
|