Skip to content

[C API] Add PyTupleWriter API - #161639

Draft
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:tuplewriter
Draft

vstinner wants to merge 1 commit into
python:mainfrom
vstinner:tuplewriter

Conversation

@vstinner

@vstinner vstinner commented Nov 8, 2026

Copy link
Copy Markdown
Member

No description provided.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35738880 | 📁 Comparing e58f319 against main (eba2a21)

  🔍 Preview build  

1 file changed
± c-api/tuple.html

@vstinner

vstinner commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

Oh. There are some legit test failures. Example:

test_structseq_newtype_null_descr_doc (test.test_capi.test_misc.Test_testcapi.test_structseq_newtype_null_descr_doc) ... python: ../cpython-ro-srcdir/Include/internal/pycore_tuple.h:119: _PyTupleWriter_CheckConsistency: Assertion `Py_REFCNT(tuple) == 1' failed.
Fatal Python error: Aborted

Current thread 0x000075e4dba4f780 [python] (most recent call first):
  File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/unittest/case.py", line 637 in _callTestMethod

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.

1 participant