Uh oh!
There was an error while loading. Please reload this page.
gh-117431: Adapt bytes and bytearray .find() and friends to Argument Clinic - #117502
Conversation
…section will fill in the needed info
…'the bytes' and 'the bytearray' in docstring
Note that the diff is not as frightening as GitHub wants it; subtract the generated files, and the diff is within ~200 lines of code, most of it being clinic input blocks.
|
erlend-aasland
commented
Apr 10, 2024
@methane, I intend to merge this in time for the beta in May. Aiming to land it next week. |
methane
left a comment
There was a problem hiding this comment.
Although old docstring used [start,end], I want to fix them to [start:end].
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
erlend-aasland
commented
Apr 12, 2024
Thanks for the review, Inada-san! |
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
…ument Clinic (python#117502) This change gives a significant speedup, as the METH_FASTCALL calling convention is now used. The following bytes and bytearray methods are adapted: - count() - find() - index() - rfind() - rindex() Co-authored-by: Inada Naoki <songofacandy@gmail.com>
This change gives a significant speedup, as the METH_FASTCALL calling convention is used.