diff -Naur Python-3.5.0-orig/setup.py Python-3.5.0/setup.py --- Python-3.5.0-orig/setup.py 2015-09-21 13:41:27.356113700 +0300 +++ Python-3.5.0/setup.py 2015-09-21 13:41:32.656583600 +0300 @@ -1270,7 +1270,7 @@ missing.append('_gdbm') # Unix-only modules - if host_platform != 'win32': + if not host_platform.startswith(('mingw', 'win')): # Steen Lumholt's termios module exts.append( Extension('termios', ['termios.c']) ) # Jeremy Hylton's rlimit interface