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 MSeifert
Recipients MSeifert
Date 2017-03-31.00:03:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490918587.4.0.0607667805061.issue29951@psf.upfronthosting.co.za>
In-reply-to
Content
Some exceptions thrown by `PyArg_ParseTupleAndKeywords` refer to "function" or "this function" even when a function name was specified.

For example:

>>> import bisect
>>> bisect.bisect_right([1,2,3,4], 2, low=10)
TypeError: 'low' is an invalid keyword argument for this function

Wouldn't it be better to replace the "this function" part (if given) with the actual function name?
History
Date User Action Args
2017-03-31 00:03:08MSeifertsetrecipients: + MSeifert
2017-03-31 00:03:07MSeifertsetmessageid: <1490918587.4.0.0607667805061.issue29951@psf.upfronthosting.co.za>
2017-03-31 00:03:07MSeifertlinkissue29951 messages
2017-03-31 00:03:05MSeifertcreate