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 larry, methane, python-dev, serhiy.storchaka, vstinner, yselivanov
Date 2017-02-01.16:45:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485967508.91.0.733676807057.issue29286@psf.upfronthosting.co.za>
In-reply-to
Content
str type still has a few methods using METH_VARARGS (slower than METH_FASTCALL):

* count()
* find()
* index()
* rfind()
* rindex()
* startswith()
* endswith()
* format()

Maybe I will propose a change later to convert these methods to Argument Clinic, but I consider that the initial issue "Currently, Argument Clinic doesn't use METH_FASTCALL for these methods, but METH_VARARGS" is now fixed, so I close the issue.

Thanks Naoki and Serhiy.
History
Date User Action Args
2017-02-01 16:45:08vstinnersetrecipients: + vstinner, larry, methane, python-dev, serhiy.storchaka, yselivanov
2017-02-01 16:45:08vstinnersetmessageid: <1485967508.91.0.733676807057.issue29286@psf.upfronthosting.co.za>
2017-02-01 16:45:08vstinnerlinkissue29286 messages
2017-02-01 16:45:08vstinnercreate