changeset 33915:b4294ff13392

contrib: always treat importlib.* as stdlib
author Augie Fackler <raf@durin42.com>
date Tue, 22 Aug 2017 16:02:57 -0400
parents 1900381b6a6e
children 3595e4e0ae57
files contrib/import-checker.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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