Message175745
| Author |
brett.cannon |
| Recipients |
asvetlov, brett.cannon, jcea, larry |
| Date |
2012年11月17日.14:46:45 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1353163605.51.0.603868916136.issue16490@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
So at this point you should use inspect.signature(), not getfullargspec().
With that you could do this if you either allowed setting the __signature__ attribute and then provided code that would set it, made __signature__ a property that returned the Signature object if desired on a built-in, or come up with some automated way to take the argument string from PyArg_Parse() as you suggested. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年11月17日 14:46:45 | brett.cannon | set | recipients:
+ brett.cannon, jcea, larry, asvetlov |
| 2012年11月17日 14:46:45 | brett.cannon | set | messageid: <1353163605.51.0.603868916136.issue16490@psf.upfronthosting.co.za> |
| 2012年11月17日 14:46:45 | brett.cannon | link | issue16490 messages |
| 2012年11月17日 14:46:45 | brett.cannon | create |
|