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 rmccampbell7
Recipients r.david.murray, rmccampbell7, yselivanov
Date 2014-06-25.04:57:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403672262.7.0.186876106942.issue21684@psf.upfronthosting.co.za>
In-reply-to
Content
It's not really a particular use case. I was making a function decorator for automatic type checking using annotations (ironically I discovered later there is an almost identical example in the PEP for signatures). But I can't think of any use case when it would be undesirable to include the extra parameters, unless it slows down the code, hence the possibility of a separate method. It would not complicate the API to add behavior that would simplify most applications. And I just realized this is also the behavior of inspect.getcallargs, for which the docs recommend to switch to Signature.bind.
History
Date User Action Args
2014-06-25 04:57:42rmccampbell7setrecipients: + rmccampbell7, r.david.murray, yselivanov
2014-06-25 04:57:42rmccampbell7setmessageid: <1403672262.7.0.186876106942.issue21684@psf.upfronthosting.co.za>
2014-06-25 04:57:42rmccampbell7linkissue21684 messages
2014-06-25 04:57:42rmccampbell7create