STINNER Victor <vstin...@python.org> added the comment:
FYI python-jep project is broken by this change: https://bugzilla.redhat.com/show_bug.cgi?id=1792062 "JEP embeds CPython in Java through JNI and is safe to use in a heavily threaded environment." https://github.com/ninia/jep FAIL: test_shared_modules_threads (test_shared_modules.TestSharedModules) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/jep-3.9.0/src/test/python/test_shared_modules.py", line 15, in test_shared_modules_threads jep_pipe(build_java_process_cmd('jep.test.TestSharedModulesThreads')) File "/usr/lib64/python3.9/contextlib.py", line 240, in helper return _GeneratorContextManager(func, args, kwds) File "/usr/lib64/python3.9/contextlib.py", line 83, in __init__ self.gen = func(*args, **kwds) File "/builddir/build/BUILD/jep-3.9.0/src/test/python/jep_pipe.py", line 36, in jep_pipe assert False, stderr AssertionError: b'Exception in thread "main" jep.JepException: <class \'RuntimeError\'>: daemon thread are not supported in subinterpreters\n\tat /usr/lib64/python3.9/threading.start(threading.py:858)\n\tat <string>.<module>(<string>:1)\n\tat jep.Jep.eval(Native Method)\n\tat jep.Jep.eval(Jep.java:451)\n\tat jep.test.TestSharedModulesThreads.main(TestSharedModulesThreads.java:53)\n' ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37266> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com