contrib/import-checker.py
changeset 24669 fbdbff1b486a
parent 24668 81873bb2a01d
child 25063 723e364488f4
equal deleted inserted replaced
24668:81873bb2a01d 24669:fbdbff1b486a
    59         yield m
    59         yield m
    60     # These get missed too
    60     # These get missed too
    61     for m in 'ctypes', 'email':
    61     for m in 'ctypes', 'email':
    62         yield m
    62         yield m
    63     yield 'builtins' # python3 only
    63     yield 'builtins' # python3 only
       
    64     for m in 'fcntl', 'grp', 'pwd', 'termios':  # Unix only
       
    65         yield m
    64     stdlib_prefixes = set([sys.prefix, sys.exec_prefix])
    66     stdlib_prefixes = set([sys.prefix, sys.exec_prefix])
    65     # We need to supplement the list of prefixes for the search to work
    67     # We need to supplement the list of prefixes for the search to work
    66     # when run from within a virtualenv.
    68     # when run from within a virtualenv.
    67     for mod in (BaseHTTPServer, zlib):
    69     for mod in (BaseHTTPServer, zlib):
    68         try:
    70         try: