Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f4956d0

Browse files
get rid of PyEval_InitThreads, fixes python-llfuse#55
This is not needed any more since we now require Python >= 3.8.
1 parent c7feaa0 commit f4956d0

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/fuse_api.pxi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,6 @@ cdef session_loop_mt(workers):
424424
sigaddset(&newset, signal.SIGHUP);
425425
sigaddset(&newset, signal.SIGQUIT);
426426

427-
PyEval_InitThreads()
428427
bufsize = fuse_chan_bufsize(channel)
429428
wd = <worker_data_t*> calloc_or_raise(workers, sizeof(worker_data_t))
430429
try:

src/llfuse.pyx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ cdef extern from *:
9595
EDEADLK
9696

9797
cdef extern from "Python.h" nogil:
98-
void PyEval_InitThreads()
9998
int PY_SSIZE_T_MAX
10099

101100
# Actually passed as -D to cc (and defined in setup.py)

0 commit comments

Comments
 (0)