disable pylint's unused imports warning in _compat.py
Merge pull request #4886 from cvrebert/patch-8

disable pylint's unused imports warning in _compat.py