Commit c19db1d
pythongh-138004: Fix setting a thread name on OpenIndiana (pythonGH-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 <[email protected]>1 parent 8d5c334 commit c19db1d
File tree
4 files changed
+19
-6
lines changed- Lib/test
- Misc
- NEWS.d/next/Core_and_Builtins
- Modules
4 files changed
+19
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2281 | 2281 | | |
2282 | 2282 | | |
2283 | 2283 | | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
2284 | 2287 | | |
2285 | 2288 | | |
2286 | 2289 | | |
| |||
2320 | 2323 | | |
2321 | 2324 | | |
2322 | 2325 | | |
2323 | | - | |
| 2326 | + | |
| 2327 | + | |
2324 | 2328 | | |
2325 | 2329 | | |
2326 | 2330 | | |
| |||
2336 | 2340 | | |
2337 | 2341 | | |
2338 | 2342 | | |
2339 | | - | |
| 2343 | + | |
2340 | 2344 | | |
2341 | 2345 | | |
2342 | 2346 | | |
| |||
2355 | 2359 | | |
2356 | 2360 | | |
2357 | 2361 | | |
2358 | | - | |
| 2362 | + | |
| 2363 | + | |
| 2364 | + | |
| 2365 | + | |
| 2366 | + | |
2359 | 2367 | | |
2360 | 2368 | | |
2361 | 2369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| 486 | + | |
486 | 487 | | |
487 | 488 | | |
488 | 489 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2523 | 2523 | | |
2524 | 2524 | | |
2525 | 2525 | | |
2526 | | - | |
| 2526 | + | |
| 2527 | + | |
| 2528 | + | |
2527 | 2529 | | |
2528 | 2530 | | |
2529 | 2531 | | |
| |||
2561 | 2563 | | |
2562 | 2564 | | |
2563 | 2565 | | |
2564 | | - | |
2565 | | - | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
2566 | 2569 | | |
2567 | 2570 | | |
2568 | 2571 | | |
| |||
0 commit comments