Skip to content

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Mar 5, 2018

In the six weeks since #3206 was merged, the Python 2-only function xrange() was introduced into 24 files in this repo. This PR reapplies the same fix as last time: from six.moves import xrange.

It would be quite helpful if we could have flake8 . --select=E901,E999,F821,F822,F823 added to the test suite to catch these issues compatibility before code is reviewed and merged. Our current test suite does not flag them.

@cclauss
Copy link
Contributor Author

cclauss commented Mar 5, 2018

@nealwu @karmel

@a-dai a-dai merged commit e029542 into tensorflow:master Mar 6, 2018
@cclauss cclauss deleted the from-six.moves-import-xrange-again branch March 6, 2018 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants