diff -r 6fbf1159a85a -r 35e69407b1ac contrib/check-py3-compat.py --- a/contrib/check-py3-compat.py Sat Dec 12 13:23:29 2015 -0500 +++ b/contrib/check-py3-compat.py Sat Dec 12 13:27:31 2015 -0500 @@ -17,6 +17,10 @@ with open(f, 'rb') as fh: content = fh.read() + # Ignore empty files. + if not content.strip(): + return + root = ast.parse(content) futures = set() haveprint = False