Repository navigation
Commit 8b58cfb
committed
Make os.strerror() thread-safe: use the reentrant strerror_r()
function if available.
* The configure script now checks if strerror_r() is supported.
* Add a stress test to test_free_threading.test_os (new module).
* Add a comment on decode_current_locale() assertion which fails if
the input string is mutated.
* Add an assertion to _Py_DecodeLocale() to detect if the input
string was mutated during the function call.
1 parent ece561e commit 8b58cfb
6 files changed
Lines changed: 169 additions & 0 deletions
File tree
- Lib/test/test_free_threading
- Misc/NEWS.d/next/Library
- Modules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13831 | 13831 | | |
13832 | 13832 | | |
13833 | 13833 | | |
| 13834 | + | |
| 13835 | + | |
| 13836 | + | |
| 13837 | + | |
| 13838 | + | |
| 13839 | + | |
| 13840 | + | |
| 13841 | + | |
| 13842 | + | |
| 13843 | + | |
| 13844 | + | |
| 13845 | + | |
| 13846 | + | |
| 13847 | + | |
| 13848 | + | |
| 13849 | + | |
| 13850 | + | |
| 13851 | + | |
| 13852 | + | |
| 13853 | + | |
| 13854 | + | |
| 13855 | + | |
| 13856 | + | |
| 13857 | + | |
| 13858 | + | |
| 13859 | + | |
| 13860 | + | |
| 13861 | + | |
| 13862 | + | |
| 13863 | + | |
| 13864 | + | |
| 13865 | + | |
| 13866 | + | |
| 13867 | + | |
| 13868 | + | |
| 13869 | + | |
| 13870 | + | |
| 13871 | + | |
| 13872 | + | |
| 13873 | + | |
| 13874 | + | |
| 13875 | + | |
| 13876 | + | |
| 13877 | + | |
| 13878 | + | |
| 13879 | + | |
| 13880 | + | |
| 13881 | + | |
| 13882 | + | |
| 13883 | + | |
| 13884 | + | |
| 13885 | + | |
| 13886 | + | |
| 13887 | + | |
| 13888 | + | |
| 13889 | + | |
| 13890 | + | |
| 13891 | + | |
| 13892 | + | |
| 13893 | + | |
| 13894 | + | |
| 13895 | + | |
| 13896 | + | |
| 13897 | + | |
| 13898 | + | |
| 13899 | + | |
| 13900 | + | |
| 13901 | + | |
| 13902 | + | |
| 13903 | + | |
| 13904 | + | |
| 13905 | + | |
13834 | 13906 | | |
13835 | 13907 | | |
13836 | 13908 | | |
13837 | 13909 | | |
13838 | 13910 | | |
13839 | 13911 | | |
13840 | 13912 | | |
| 13913 | + | |
13841 | 13914 | | |
13842 | 13915 | | |
13843 | 13916 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
5516 | 5522 | | |
5517 | 5523 | | |
5518 | 5524 | | |
| 5525 | + | |
| 5526 | + | |
| 5527 | + | |
5519 | 5528 | | |
5520 | 5529 | | |
5521 | 5530 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2094 | 2094 | | |
2095 | 2095 | | |
2096 | 2096 | | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
2097 | 2100 | | |
2098 | 2101 | | |
2099 | 2102 | | |
| |||
0 commit comments