-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
test_set_name fails on OpenIndiana #138004
Copy link
Copy link
Closed
Labels
3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesOS-unsupportedextension-modulesC modules in the Modules dirC modules in the Modules dirtestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesOS-unsupportedextension-modulesC modules in the Modules dirC modules in the Modules dirtestsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done
Status
Done
It seems that
pthread_setname_np()only works with ASCII names here.In addition to making the test more lenient, we can make
_thread.set_name()more tolerant to such restriction -- use ASCII encoding with the "replace" or "ignore" error handler as a fallback.cc @vstinner
Linked PRs