You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/serhiy-storchaka'closed_at=<Date2017-01-25.10:12:03.318>created_at=<Date2016-12-27.13:41:52.484>labels= ['interpreter-core', 'build', '3.7']
title='Readd PyArg_VaParse to the stable API'updated_at=<Date2017-03-31.16:36:28.096>user='https://github.com/serhiy-storchaka'
Seems PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were excluded from the stable API by the mistake in fixing bpo-11626. These functions was in the stable API before 3.3, and the documentation doesn't mention that they are not in the stable API.
There are also issues with PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and Py_BuildValue(). Their declarations are not available if define PY_SSIZE_T_CLEAN and Py_LIMITED_API < 3.3. But they were available in Python 3.2.
Activity
serhiy-storchaka commentedon Dec 27, 2016
Seems PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were excluded from the stable API by the mistake in fixing bpo-11626. These functions was in the stable API before 3.3, and the documentation doesn't mention that they are not in the stable API.
I think they should be readded to the stable API.
serhiy-storchaka commentedon Jan 22, 2017
There are also issues with PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and Py_BuildValue(). Their declarations are not available if define PY_SSIZE_T_CLEAN and Py_LIMITED_API < 3.3. But they were available in Python 3.2.
Proposed patch fixes these glitches.
python-dev commentedon Jan 24, 2017
New changeset 5cdf383ef35c by Serhiy Storchaka in branch '3.5':
Issue bpo-29083: Fixed the declaration of some public API functions.
https://hg.python.org/cpython/rev/5cdf383ef35c
New changeset 8eae65136000 by Serhiy Storchaka in branch '3.6':
Issue bpo-29083: Fixed the declaration of some public API functions.
https://hg.python.org/cpython/rev/8eae65136000
New changeset b63d096403f4 by Serhiy Storchaka in branch 'default':
Issue bpo-29083: Fixed the declaration of some public API functions.
https://hg.python.org/cpython/rev/b63d096403f4