This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Remove _PyTuple_FromArray from the public API
Type: enhancement Stage: resolved
Components: C API Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: erlendaasland, petr.viktorin, vstinner
Priority: normal Keywords: patch

Created on 2021-05-25 11:25 by erlendaasland, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 26352 merged erlendaasland, 2021-05-25 11:42
Messages (2)
msg394329 - (view) Author: Erlend E. Aasland (erlendaasland) * (Python triager) Date: 2021-05-25 11:27
I propose to remove the undocumented function _PyTuple_FromArray from the public API, by using the extern keyword iso. PyAPI_FUNC. _PyTuple_FromArray was introduced by bpo-36030 in GH-11954 during the Python 3.8 alpha phase. In the stdlib, it is used by the itertools module only. It "lives" in Include/internal/pycore_tuple.h.
msg394353 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-05-25 13:58
New changeset 1b940eb410e2755538a36d87fe4aa8d8783183d6 by Erlend Egeberg Aasland in branch 'main':
bpo-44231: Don't export internal _PyTuple_FromArray() symbol (GH-26352)
https://github.com/python/cpython/commit/1b940eb410e2755538a36d87fe4aa8d8783183d6
History
Date User Action Args
2022-04-11 14:59:46adminsetgithub: 88397
2021-05-25 13:59:09vstinnersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2021-05-25 13:58:23vstinnersetmessages: + msg394353
2021-05-25 11:42:06erlendaaslandsetkeywords: + patch
stage: patch review
pull_requests: + pull_request24942
2021-05-25 11:27:42erlendaaslandsetmessages: + msg394329
2021-05-25 11:27:27erlendaaslandset -> (no value)
messages: - msg394328
2021-05-25 11:25:56erlendaaslandcreate