STINNER Victor added the comment:

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.

----------
resolution:  -> fixed
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29286>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to