We have some news to share for the request index beta feature. We’ve added more options to sort your requests, counters to the individual filters and documentation for the search functionality. Checkout the blog post for more details.

File bpo-44434-libgcc_s-for-pthread_cancel.patch of Package python3.42323

---
 Modules/_testcapimodule.c |    2 --
 Modules/_threadmodule.c   |    5 ++++-
 2 files changed, 4 insertions(+), 3 deletions(-)

--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -3007,8 +3007,6 @@ temporary_c_thread(void *data)
     PyGILState_Release(state);
 
     PyThread_release_lock(test_c_thread->exit_event);
-
-    PyThread_exit_thread();
 }
 
 static PyObject *
--- a/Modules/_threadmodule.c
+++ b/Modules/_threadmodule.c
@@ -1032,7 +1032,10 @@ t_bootstrap(void *boot_raw)
     nb_threads--;
     PyThreadState_Clear(tstate);
     PyThreadState_DeleteCurrent();
-    PyThread_exit_thread();
+
+    // bpo-44434: Don't call explicitly PyThread_exit_thread(). On Linux with
+    // the glibc, pthread_exit() can abort the whole process if dlopen() fails
+    // to open the libgcc_s.so library (ex: EMFILE error).
 }
 
 static PyObject *
openSUSE Build Service is sponsored by