cclauss commented on issue #8270: 43 Undefined names in Python code
URL: 
https://github.com/apache/incubator-mxnet/issues/8270#issuecomment-380203936
 
 
   These are variable that are not defined in the current context which can 
raise NameError at runtime.  Often they are typos or missing imports or code 
refactoring errors or things like __basestring__ or __xrange()__ being defined 
in Python 2 but being removed in Python 3.
   
   Just try reading thru the code as if you were the Python interpreter and ask 
yourself "Where is this variable defined?".

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to