]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-138004: Fix setting a thread name on OpenIndiana (GH-138017)
authorjadonduff <jadon_duff@icloud.com>
Tue, 2 Sep 2025 15:26:25 +0000 (11:26 -0400)
committerGitHub <noreply@github.com>
Tue, 2 Sep 2025 15:26:25 +0000 (15:26 +0000)
commitc19db1d2b8935b6f4f775a0957a076f1864fbf80
tree604c7ae8dd88cd66d833b0e76ccba0305e6d2bdb
parent8d5c3341c538cd1a4192ca8a1536b2eed4b98c69
gh-138004: Fix setting a thread name on OpenIndiana (GH-138017)

Encode Solaris/Illumos thread names to ASCII, since
OpenIndiana does not support non-ASCII names.

Add tests for setting non-ASCII name for the main thread.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_threading.py
Misc/ACKS
Misc/NEWS.d/next/Core_and_Builtins/2025-08-21-06-31-42.gh-issue-138004.FH2Hre.rst [new file with mode: 0644]
Modules/_threadmodule.c