Message211609
| Author |
ncoghlan |
| Recipients |
larry, ncoghlan, yselivanov |
| Date |
2014年02月19日.12:40:20 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1392813621.68.0.712139176055.issue20684@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In a comment on issue 17482, Mike Bayer pointed out a backwards incompatibility resulting from changing inspect.getfullargspec (etc) to rely on inspect.signature: they now follow __wrapped__ chains, where previously they ignored them.
This means that instead of reporting the exact signature of the *wrapper*, they now report the signature of the wrapped function instead.
Since switching these functions from ignoring __wrapped__ to following it is an unintended backwards incompatible change, I'll tweak the code to bypass the unravelling of wrapper chains in the getfullargspec case. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年02月19日 12:40:21 | ncoghlan | set | recipients:
+ ncoghlan, larry, yselivanov |
| 2014年02月19日 12:40:21 | ncoghlan | set | messageid: <1392813621.68.0.712139176055.issue20684@psf.upfronthosting.co.za> |
| 2014年02月19日 12:40:21 | ncoghlan | link | issue20684 messages |
| 2014年02月19日 12:40:20 | ncoghlan | create |
|