gh-106320: Move _PyUnicodeWriter to the internal C API#106342
Conversation
Move also _PyUnicode_FormatAdvancedWriter(). CJK codecs and multibytecodec.c now define the Py_BUILD_CORE_MODULE macro.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot ARM Raspbian 3.x has failed when building commit 5ccbbe5. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/424/builds/4339 Summary of the results of the build (if available): == Tests result: ENV CHANGED == 426 tests OK. 10 slowest tests:
1 test altered the execution environment: 19 tests skipped: Total duration: 37 min 46 sec Click to see traceback logsremote: Enumerating objects: 36, done.
remote: Counting objects: 2% (1/36)
remote: Counting objects: 5% (2/36)
remote: Counting objects: 8% (3/36)
remote: Counting objects: 11% (4/36)
remote: Counting objects: 13% (5/36)
remote: Counting objects: 16% (6/36)
remote: Counting objects: 19% (7/36)
remote: Counting objects: 22% (8/36)
remote: Counting objects: 25% (9/36)
remote: Counting objects: 27% (10/36)
remote: Counting objects: 30% (11/36)
remote: Counting objects: 33% (12/36)
remote: Counting objects: 36% (13/36)
remote: Counting objects: 38% (14/36)
remote: Counting objects: 41% (15/36)
remote: Counting objects: 44% (16/36)
remote: Counting objects: 47% (17/36)
remote: Counting objects: 50% (18/36)
remote: Counting objects: 52% (19/36)
remote: Counting objects: 55% (20/36)
remote: Counting objects: 58% (21/36)
remote: Counting objects: 61% (22/36)
remote: Counting objects: 63% (23/36)
remote: Counting objects: 66% (24/36)
remote: Counting objects: 69% (25/36)
remote: Counting objects: 72% (26/36)
remote: Counting objects: 75% (27/36)
remote: Counting objects: 77% (28/36)
remote: Counting objects: 80% (29/36)
remote: Counting objects: 83% (30/36)
remote: Counting objects: 86% (31/36)
remote: Counting objects: 88% (32/36)
remote: Counting objects: 91% (33/36)
remote: Counting objects: 94% (34/36)
remote: Counting objects: 97% (35/36)
remote: Counting objects: 100% (36/36)
remote: Counting objects: 100% (36/36), done.
remote: Compressing objects: 12% (1/8)
remote: Compressing objects: 25% (2/8)
remote: Compressing objects: 37% (3/8)
remote: Compressing objects: 50% (4/8)
remote: Compressing objects: 62% (5/8)
remote: Compressing objects: 75% (6/8)
remote: Compressing objects: 87% (7/8)
remote: Compressing objects: 100% (8/8)
remote: Compressing objects: 100% (8/8), done.
remote: Total 19 (delta 18), reused 11 (delta 11), pack-reused 0
From https://github.com/python/cpython
* branch main -> FETCH_HEAD
Note: switching to '5ccbbe5bb9a659fa8f2fe551428c84cc14015f44'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 5ccbbe5bb9 gh-106320: Move _PyUnicodeWriter to the internal C API (#106342)
Switched to and reset branch 'main'
./Modules/_testcapi/heaptype_relative.c: In function ‘make_sized_heaptypes’:
./Modules/_testcapi/heaptype_relative.c:62:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
62 | (unsigned long long)data_ptr,
| ^
make: *** [Makefile:2004: buildbottest] Error 3 |
Sorry, something went wrong.
* main: (167 commits) pythongh-91053: make func watcher tests resilient to other func watchers (python#106286) pythongh-104050: Add more type hints to Argument Clinic DSLParser() (python#106354) pythongh-106359: Fix corner case bugs in Argument Clinic converter parser (python#106361) pythongh-104146: Remove unused attr 'parameter_indent' from clinic.DLParser (python#106358) pythongh-106320: Remove private _PyErr C API functions (python#106356) pythongh-104050: Annotate Argument Clinic DSLParser attributes (python#106357) pythongh-106320: Create pycore_modsupport.h header file (python#106355) pythongh-106320: Move _PyUnicodeWriter to the internal C API (python#106342) pythongh-61215: New mock to wait for multi-threaded events to happen (python#16094) Document PYTHONSAFEPATH along side -P (python#106122) Replace the esoteric term 'datum' when describing dict comprehensions (python#106119) pythongh-104050: Add more type hints to Argument Clinic DSLParser() (python#106343) pythongh-106320: _testcapi avoids private _PyUnicode_EqualToASCIIString() (python#106341) pythongh-106320: Add pycore_complexobject.h header file (python#106339) pythongh-106078: Move DecimalException to _decimal state (python#106301) pythongh-106320: Use _PyInterpreterState_GET() (python#106336) pythongh-106320: Remove private _PyInterpreterState functions (python#106335) pythongh-104922: Doc: add note about PY_SSIZE_T_CLEAN (python#106314) pythongh-106217: Truncate the issue body size of `new-bugs-announce-notifier` (python#106329) pythongh-104922: remove PY_SSIZE_T_CLEAN (python#106315) ...
Move also _PyUnicode_FormatAdvancedWriter().
CJK codecs and multibytecodec.c now define the Py_BUILD_CORE_MODULE macro.