From patchwork Wed Aug 23 14:55:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [05, of, 10] contrib: inform import checker that __builtin__ is a thing From: Augie Fackler X-Patchwork-Id: 23234 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Wed, 23 Aug 2017 10:55:04 -0400 # HG changeset patch # User Augie Fackler # Date 1503425557 14400 # Tue Aug 22 14:12:37 2017 -0400 # Node ID ab897b232da53bc7b198027103de5e521f6e8e29 # Parent d8042acd416ee5c0daeea12d6e4c2595a5667919 contrib: inform import checker that __builtin__ is a thing diff --git a/contrib/import-checker.py b/contrib/import-checker.py --- a/contrib/import-checker.py +++ b/contrib/import-checker.py @@ -220,6 +220,7 @@ def list_stdlib_modules(): # consider them stdlib. for m in ['msvcrt', '_winreg']: yield m + yield '__builtin__' yield 'builtins' # python3 only for m in 'fcntl', 'grp', 'pwd', 'termios': # Unix only yield m