# HG changeset patch # User Augie Fackler # Date 1503432177 14400 # Node ID b4294ff133926cf0901a80374052dce63a570e2c # Parent 1900381b6a6efca5ccf1b66d5ad712412333b3e4 contrib: always treat importlib.* as stdlib diff -r 1900381b6a6e -r b4294ff13392 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