mirror of https://gitlab.com/ita1024/waf.git
Work around an annoying Python 3.6 regression #1889
This commit is contained in:
parent
ef3b1bdcbf
commit
ffcbf5d402
|
@ -980,7 +980,8 @@ def atexit_pool():
|
|||
pass
|
||||
else:
|
||||
k.wait()
|
||||
if sys.hexversion<0x207000f and not is_win32:
|
||||
# see #1889
|
||||
if (sys.hexversion<0x207000f and not is_win32) or sys.hexversion>=0x306000f:
|
||||
atexit.register(atexit_pool)
|
||||
|
||||
if sys.platform == 'cli' or not sys.executable:
|
||||
|
|
Loading…
Reference in New Issue