Message292701
> Is there any reason that the second case Terry provide still will failed with ValueError? > class C: > def meth2(**kwds): pass > ip.signature(C().meth2) Yes, the reason is that `C().meth2` is an invalid method that can't be called. Try calling `C().meth2()` and you will get a TypeError. There is no bug here. | |
Date | User | Action | Args | 2017-05-01 21:36:19 | yselivanov | set | recipients: + yselivanov, terry.reedy, ncoghlan, larry, python-dev, louielu | 2017-05-01 21:36:19 | yselivanov | set | messageid: <1493674579.88.0.151177610521.issue20401@psf.upfronthosting.co.za> | 2017-05-01 21:36:19 | yselivanov | link | issue20401 messages | 2017-05-01 21:36:19 | yselivanov | create | | |