[issue41262] Convert memoryview to Argument Clinic

Serhiy Storchaka report at bugs.python.org
Thu Jul 9 15:48:54 EDT 2020


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

The proposed PR converts Objects/memoryobject.c to Argument Clinic.

Advantages:

* Highly optimized code is used to parse arguments instead of slow PyArg_ParseTupleAndKeywords().
* All future improvements of argument parsing (better performance or errors handling) will be automatically applied to memoryobject.

Previously Argument Clinic was used for memoryview.hex().

----------
components: Extension Modules
messages: 373425
nosy: serhiy.storchaka, skrah
priority: normal
severity: normal
status: open
title: Convert memoryview to Argument Clinic
type: performance
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41262>
_______________________________________


More information about the Python-bugs-list mailing list