[issue44231] Remove _PyTuple_FromArray from the public API

2021-05-25 Thread STINNER Victor


Change by STINNER Victor :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44231] Remove _PyTuple_FromArray from the public API

2021-05-25 Thread STINNER Victor


STINNER Victor  added the comment:


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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44231] Remove _PyTuple_FromArray from the public API

2021-05-25 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
keywords: +patch
pull_requests: +24942
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/26352

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44231] Remove _PyTuple_FromArray from the public API

2021-05-25 Thread Erlend E. Aasland


Change by Erlend E. Aasland :


--
Removed message: https://bugs.python.org/msg394328

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44231] Remove _PyTuple_FromArray from the public API

2021-05-25 Thread Erlend E. Aasland


New submission from Erlend E. Aasland :

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.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue44231] Remove _PyTuple_FromArray from the public API

2021-05-25 Thread Erlend E. Aasland


New submission from Erlend E. Aasland :

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_tupleobject.h.

--
components: C API
messages: 394328
nosy: erlendaasland, petr.viktorin, vstinner
priority: normal
severity: normal
status: open
title: Remove _PyTuple_FromArray from the public API
type: enhancement
versions: Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com