File "c:\python27\scripts\pylint-script.py", line 8, in <module>
load_entry_point('pylint==0.27.0', 'console_scripts', 'pylint')()
File "c:\python27\lib\site-packages\pylint\__init__.py", line 21, in run_pylint
Run(sys.argv[1:])
File "c:\python27\lib\site-packages\pylint\lint.py", line 991, in __init__
linter.check(args)
File "c:\python27\lib\site-packages\pylint\lint.py", line 587, in check
self.check_astng_module(astng, walker, rawcheckers)
File "c:\python27\lib\site-packages\pylint\lint.py", line 666, in check_astng_module
walker.walk(astng)
File "c:\python27\lib\site-packages\pylint\utils.py", line 600, in walk
self.walk(child)
File "c:\python27\lib\site-packages\pylint\utils.py", line 600, in walk
self.walk(child)
File "c:\python27\lib\site-packages\pylint\utils.py", line 597, in walk
cb(astng)
File "c:\python27\lib\site-packages\pylint\checkers\typecheck.py", line 222, in visit_assign
function_node = safe_infer(node.value.func)
File "c:\python27\lib\site-packages\pylint\checkers\utils.py", line 83, in safe_infer
inferit.next()
File "c:\python27\lib\site-packages\logilab\astng\bases.py", line 304, in wrapped
for res in _func(node, context, **kwargs):
File "c:\python27\lib\site-packages\logilab\astng\bases.py", line 328, in wrapper
for node in func(*args, **kwargs):
File "c:\python27\lib\site-packages\logilab\astng\inference.py", line 211, in infer_getattr
for owner in self.expr.infer(context):
File "c:\python27\lib\site-packages\logilab\astng\bases.py", line 304, in wrapped
for res in _func(node, context, **kwargs):
File "c:\python27\lib\site-packages\logilab\astng\bases.py", line 328, in wrapper
for node in func(*args, **kwargs):
File "c:\python27\lib\site-packages\logilab\astng\inference.py", line 217, in infer_getattr
for obj in owner.igetattr(self.attrname, context):
File "c:\python27\lib\site-packages\logilab\astng\bases.py", line 115, in _infer_stmts
for infered in stmt.infer(context):
File "c:\python27\lib\site-packages\logilab\astng\bases.py", line 304, in wrapped
for res in _func(node, context, **kwargs):
File "c:\python27\lib\site-packages\logilab\astng\inference.py", line 179, in infer_import
yield self.do_import_module(self.real_name(name))
File "c:\python27\lib\site-packages\logilab\astng\mixins.py", line 117, in do_import_module
return mymodule.import_module(modname, level=level)
File "c:\python27\lib\site-packages\logilab\astng\scoped_nodes.py", line 348, in import_module
return MANAGER.astng_from_module_name(modname)
File "c:\python27\lib\site-packages\logilab\astng\manager.py", line 136, in astng_from_module_name
return self.astng_from_file(filepath, modname, fallback=False)
File "c:\python27\lib\site-packages\logilab\astng\manager.py", line 107, in astng_from_file
return ASTNGBuilder(self).file_build(filepath, modname)
File "c:\python27\lib\site-packages\logilab\astng\builder.py", line 129, in file_build
node = self.string_build(data, modname, path)
File "c:\python27\lib\site-packages\logilab\astng\builder.py", line 135, in string_build
module = self._data_build(data, modname, path)
File "c:\python27\lib\site-packages\logilab\astng\builder.py", line 151, in _data_build
node = parse(data + '\n')
File "c:\python27\lib\site-packages\logilab\astng\builder.py", line 41, in parse
return compile(string, "<string>", 'exec', PyCF_ONLY_AST)
TypeError: compile() expected string without null bytes
I just reproduced the issue by pylinting C:\Python27\Lib\argparse.py
--