[issue23492] Argument Clinic: improve generated parser for 1-argument functions

Serhiy Storchaka report at bugs.python.org
Fri Feb 20 15:40:14 CET 2015


New submission from Serhiy Storchaka:

Proposed patch improve generated parsers for functions with single positional argument. Now they always generated as METH_O and PyArg_Parse() is used to parse single argument.

To avoid code churn in this and following changes it would be worth to extract all generated code in separated files.

----------
components: Build
files: clinic_meth_o.patch
keywords: patch
messages: 236288
nosy: larry, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Argument Clinic: improve generated parser for 1-argument functions
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file38188/clinic_meth_o.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23492>
_______________________________________


More information about the Python-bugs-list mailing list