contrib: always treat importlib.* as stdlib
authorAugie Fackler <raf@durin42.com>
Tue, 22 Aug 2017 16:02:57 -0400
changeset 33897 b4294ff13392
parent 33896 1900381b6a6e
child 33898 3595e4e0ae57
contrib: always treat importlib.* as stdlib
contrib/import-checker.py
--- a/contrib/import-checker.py	Tue Aug 22 14:14:19 2017 -0400
+++ b/contrib/import-checker.py	Tue Aug 22 16:02:57 2017 -0400
@@ -222,6 +222,9 @@
         yield m
     yield '__builtin__'
     yield 'builtins' # python3 only
+    yield 'importlib.abc' # python3 only
+    yield 'importlib.machinery' # python3 only
+    yield 'importlib.util' # python3 only
     for m in 'fcntl', 'grp', 'pwd', 'termios':  # Unix only
         yield m
     for m in 'cPickle', 'datetime': # in Python (not C) on PyPy