Skip to content

GH-140052: Add PyTuple_Make[Single,Pair,Triplet] + steal version#140079

Closed
sergey-miryanov wants to merge 5 commits into
python:mainfrom
sergey-miryanov:tuple_make_pair
Closed

GH-140052: Add PyTuple_Make[Single,Pair,Triplet] + steal version#140079
sergey-miryanov wants to merge 5 commits into
python:mainfrom
sergey-miryanov:tuple_make_pair

Conversation

@sergey-miryanov

@sergey-miryanov sergey-miryanov commented Oct 14, 2025

Copy link
Copy Markdown
Contributor

@vstinner

Copy link
Copy Markdown
Member

Please create a separated PR just adding the function without modifying code to use them. As I wrote previously, I would prefer to only add 2 functions: MakeSingle() and MakePair(). You should write doc (Doc/c-api/tuple.rst) and tests (Modules/_testcapi/tuple.c and Lib/test/test_capi/test_tuple.py) for new functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants