homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author veky
Recipients berker.peksag, brett.cannon, larry, matrixise, ncoghlan, nedbat, python-dev, r.david.murray, untitaker, veky, yselivanov
Date 2015年11月19日.09:49:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447926558.1.0.888661922804.issue20438@psf.upfronthosting.co.za>
In-reply-to
Content
> Also, it is worth noting, that Signature API does not provide 100%
of functionality that deprecated APIs have. It is important to do
a soft deprecation of outdated APIs in 3.5 to gather users feedback,
and improve Signature object.
Well, here is a feedback about lost functionality. inspect.getcallargs had a very nice property that it automatically bound the first argument to the instance of bound methods. It seems I have no general way to do it with Signature.bind. Of course I can put
 arguments['self'] = method.__self__
afterwards, but theoretically, the argument doesn't have to be called 'self'. And anyway, I would like something that works seamlessly with bound methods and ordinary functions.
History
Date User Action Args
2015年11月19日 09:49:18vekysetrecipients: + veky, brett.cannon, ncoghlan, larry, nedbat, r.david.murray, python-dev, berker.peksag, yselivanov, matrixise, untitaker
2015年11月19日 09:49:18vekysetmessageid: <1447926558.1.0.888661922804.issue20438@psf.upfronthosting.co.za>
2015年11月19日 09:49:18vekylinkissue20438 messages
2015年11月19日 09:49:17vekycreate

AltStyle によって変換されたページ (->オリジナル) /