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 vstinner
Recipients SylvainDe, serhiy.storchaka, vstinner
Date 2017-06-08.12:06:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496923612.29.0.0739217687318.issue30592@psf.upfronthosting.co.za>
In-reply-to
Content
Would it be possible to add an assertion to _PyArg_NoKeywords() to prevent regressions? Fail if funcname contains "(" or ")". For example:

/* funcname must not contain ( or ), since "()" suffix is added in the error message */
assert(!strchr(funcname, '(') && !strchr(funcname, ')'));
History
Date User Action Args
2017-06-08 12:06:52vstinnersetrecipients: + vstinner, serhiy.storchaka, SylvainDe
2017-06-08 12:06:52vstinnersetmessageid: <1496923612.29.0.0739217687318.issue30592@psf.upfronthosting.co.za>
2017-06-08 12:06:52vstinnerlinkissue30592 messages
2017-06-08 12:06:52vstinnercreate