diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-02-26 20:47:59 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-02-26 21:10:33 +0300 |
commit | 092fb1c81ed1563b6d15286b1f918278d0e6d391 (patch) | |
tree | 2e2dd0b3a72b7026e731878b85ee3d134c01480f | |
parent | 5f7b367ee75acc9f07a7dc091f26f92916e5a9eb (diff) | |
download | ydb-092fb1c81ed1563b6d15286b1f918278d0e6d391.tar.gz |
Remove patch as we have gevent 24.2.1 now
47264a88e6c857e589b5b21815c061575413132a
-rw-r--r-- | contrib/tools/python3/Lib/threading.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/contrib/tools/python3/Lib/threading.py b/contrib/tools/python3/Lib/threading.py index 3936074d72..98cb43c697 100644 --- a/contrib/tools/python3/Lib/threading.py +++ b/contrib/tools/python3/Lib/threading.py @@ -1684,12 +1684,7 @@ def _after_fork(): # its new value since it can have changed. thread._reset_internal_locks(True) ident = get_ident() - if ( - isinstance(thread, _DummyThread) - # Ensure _DummyThread is not monkey-patched to avoid - # <https://github.com/gevent/gevent/issues/2020> - and _DummyThread.__bases__[0] == Thread - ): + if isinstance(thread, _DummyThread): thread.__class__ = _MainThread thread._name = 'MainThread' thread._daemonic = False |