Python 3.6 no longer accept bugfixes, only security fixes:
http://devguide.python.org/#status-of-python-branches
You can try faulthandler has a workaround. For example, install faulthandler signal handler using faulthandler.register(signal.SIGUSR1) and then send a SIGUSR1 signal to the blocked process. You might want to write the output into a file if you don't have access the program stdout: use the 'file' parameter of faulthandler.register(). See also faulthandler.dump_traceback_later() to use a timeout.
https://docs.python.org/dev/library/faulthandler.html |