cclauss commented on issue #8270: 43 Undefined names in Python code
URL: 
https://github.com/apache/incubator-mxnet/issues/8270#issuecomment-407891316
 
 
   flake8 will find _undefined names_ that pylint will not because flake8 makes 
an abstract syntax tree for each Python file and plyint does not.  This also 
explains why flake8 gives different results in Python 2 and Python 3 (the have 
different ASTs while pylint does not.
   
   Take running code like __isinstance(unicode('Hello'), basestring)__ through 
pylint on Python 2 and Python 3 and see if there are differences in the output. 
 Now try same with flake8.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to