mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
Rely on python setting thread names on new enough python
This commit is contained in:
parent
f259c80710
commit
422d1fe8f9
@ -174,9 +174,9 @@ def initialize_calibre():
|
||||
|
||||
builtins.__dict__['connect_lambda'] = connect_lambda
|
||||
|
||||
if islinux or ismacos or isfreebsd:
|
||||
if sys.version_info[:2] < (3, 14) and (islinux or ismacos or isfreebsd):
|
||||
# Name all threads at the OS level created using the threading module, see
|
||||
# http://bugs.python.org/issue15500
|
||||
# https://github.com/python/cpython/issues/59705
|
||||
import threading
|
||||
|
||||
from calibre_extensions import speedup
|
||||
|
Loading…
x
Reference in New Issue
Block a user