New submission from STINNER Victor:

Attached patch converts methods using METH_VARARGS|METH_KEYWORDS calling 
convention to METH_FASTCALL using Argument Clinic. This calling convention is 
faster, and Argument Clinic provides better docstring.

See also issue #29263 "Implement LOAD_METHOD/CALL_METHOD for C functions" and 
issue #29286 "Use METH_FASTCALL in str methods".

----------
components: Interpreter Core
files: odict_clinic.patch
keywords: patch
messages: 285588
nosy: eric.snow, haypo, inada.naoki
priority: normal
severity: normal
status: open
title: Convert OrderedDict methods to Argument Clinic
type: performance
versions: Python 3.7
Added file: http://bugs.python.org/file46306/odict_clinic.patch

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

Reply via email to