# HG changeset patch # User Augie Fackler # Date 2017-08-22 20:02:57 # Node ID b4294ff133926cf0901a80374052dce63a570e2c # Parent 1900381b6a6efca5ccf1b66d5ad712412333b3e4 contrib: always treat importlib.* as stdlib diff --git a/contrib/import-checker.py b/contrib/import-checker.py --- a/contrib/import-checker.py +++ b/contrib/import-checker.py @@ -222,6 +222,9 @@ def list_stdlib_modules(): 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