Check for proper SIGINT return code
They finally got https://bugs.python.org/issue1054041 in Python 3.8windows_support
parent
da4796749f
commit
7e8b7091cb
|
@ -20,7 +20,7 @@ if platform.system() == 'Windows':
|
|||
else:
|
||||
_KILL_SIGNAL = signal.SIGKILL
|
||||
_INT_SIGNAL = signal.SIGINT
|
||||
_INT_RETURN_CODE = 1
|
||||
_INT_RETURN_CODE = 1 if sys.version_info < (3, 8) else -signal.SIGINT.value
|
||||
_PROC_SPAWN_WAIT = 0.6 if sys.version_info < (3, 7) else 0.4
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue