Submitter | Maciej Fijalkowski |
---|---|
Date | March 30, 2016, 7:37 p.m. |
Message ID | <73f48e56248f9ae71435.1459366664@brick.arcode.com> |
Download | mbox | patch |
Permalink | /patch/14193/ |
State | Superseded |
Headers | show |
Comments
Patch
diff -r ff0d3b6b287f -r 73f48e56248f contrib/import-checker.py --- a/contrib/import-checker.py Tue Mar 29 12:29:00 2016 -0500 +++ b/contrib/import-checker.py Wed Mar 30 21:37:20 2016 +0200 @@ -182,6 +182,8 @@ yield 'builtins' # python3 only for m in 'fcntl', 'grp', 'pwd', 'termios': # Unix only yield m + for m in 'cPickle', 'datetime': # in Python (not C) on PyPy + yield m stdlib_prefixes = set([sys.prefix, sys.exec_prefix]) # We need to supplement the list of prefixes for the search to work # when run from within a virtualenv.