gh-80480: remove deprecated 'u' type code (array)#149535
Conversation
Documentation build overview
77 files changed ·
|
Sorry, something went wrong.
sobolevn
left a comment
There was a problem hiding this comment.
Please, don't forget to fix docs in Doc/library/array.rst
Sorry, something went wrong.
sobolevn
left a comment
There was a problem hiding this comment.
LGTM, but I am not a module expert, so let's wait for one to merge this :)
Sorry, something went wrong.
vstinner
left a comment
There was a problem hiding this comment.
I cannot find remaining references to the u format in (updated) array, memoryview and struct: good!
Note: ctypes.c_wchar uses _type_ = "u" but this type code is unrelated to struct type codes. This ctypes is not deprecated.
Sorry, something went wrong.
Strange, the 3 jobs failed with |
Sorry, something went wrong.
vstinner
left a comment
There was a problem hiding this comment.
LGTM. Thanks for the update.
Reuse array.typecodes makes the code easier to maintain.
Sorry, something went wrong.
46b5e3e
into
python:main
Jun 1, 2026
|
Merged. Thanks for the change. |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 Debian root 3.x (tier-1) has failed when building commit 46b5e3e. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/345/builds/14390 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last):
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_embed.py", line 2036, in test_thread_state_ensure
self.run_embedded_interpreter("test_thread_state_ensure")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_embed.py", line 161, in run_embedded_interpreter
self.assertEqual(p.returncode, returncode,
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
"bad returncode %d, stderr is %r" %
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(p.returncode, err))
^^^^^^^^^^^^^^^^^^^^
AssertionError: -6 != 0 : bad returncode -6, stderr is "_testembed: ./Programs/_testembed.c:2741: test_thread_state_ensure: Assertion `_Py_atomic_load_int(&data.done) == 1' failed.\n"
Traceback (most recent call last):
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/support/__init__.py", line 948, in gc_collect
gc.collect()
~~~~~~~~~~^^
ResourceWarning: unclosed file <_io.FileIO name=13 mode='wb' closefd=True>
Traceback (most recent call last):
File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/support/__init__.py", line 948, in gc_collect
gc.collect()
~~~~~~~~~~^^
ResourceWarning: unclosed file <_io.FileIO name=11 mode='wb' closefd=True>
|
Sorry, something went wrong.
That's the unrelated issue gh-150391. |
Sorry, something went wrong.
edited by bedevere-app
Bot
LoadingUh oh!
There was an error while loading. Please reload this page.
Copy link Copy MarkdownSorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.