diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch b/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch new file mode 100644 index 0000000000..f8a268309a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From d19ad6cc086684ee74db250f5fd35227c98e678a Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz> | ||
3 | Date: Thu, 6 Jun 2024 10:29:29 +0200 | ||
4 | Subject: [PATCH] Add new thread attributes from Python 3.13 | ||
5 | |||
6 | Does not fix https://github.com/eventlet/eventlet/issues/964 yet | ||
7 | Upstream-Status: Backport [https://github.com/eventlet/eventlet/pull/965] | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | eventlet/green/thread.py | 7 +++++++ | ||
11 | 1 file changed, 7 insertions(+) | ||
12 | |||
13 | diff --git a/eventlet/green/thread.py b/eventlet/green/thread.py | ||
14 | index 053a1c3c6..384b3c290 100644 | ||
15 | --- a/eventlet/green/thread.py | ||
16 | +++ b/eventlet/green/thread.py | ||
17 | @@ -118,3 +118,10 @@ def stack_size(size=None): | ||
18 | |||
19 | if hasattr(__thread, 'daemon_threads_allowed'): | ||
20 | daemon_threads_allowed = __thread.daemon_threads_allowed | ||
21 | + | ||
22 | +if hasattr(__thread, 'start_joinable_thread'): | ||
23 | + start_joinable_thread = __thread.start_joinable_thread | ||
24 | + _shutdown = __thread._shutdown | ||
25 | + _make_thread_handle = __thread._make_thread_handle | ||
26 | + _ThreadHandle = __thread._ThreadHandle | ||
27 | + _get_main_thread_ident = __thread._get_main_thread_ident | ||