Message240669
| Author |
james |
| Recipients |
james, larry, ncoghlan, yselivanov |
| Date |
2015年04月13日.17:20:35 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1428945635.57.0.78866800296.issue23934@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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." |
|
History
|
|---|
| 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 |
|