GitHub user cclauss opened a pull request: https://github.com/apache/spark/pull/21959
[SPARK-23698] Define xrange() for Python 3 in dumpdata_script.py __xrange()__ was removed in Python 3 in favor of __range()__. This simple change removes three Undefined Names was originally suggested in #20838 which is currently mired in 50+ comments on unrelated modifications. @HyukjinKwon @holdenk ## What changes were proposed in this pull request? (Please fill in changes proposed in this fix) ## How was this patch tested? (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests) (If this patch involves UI changes, please attach a screenshot; otherwise, remove this) Please review http://spark.apache.org/contributing.html before opening a pull request. You can merge this pull request into a Git repository by running: $ git pull https://github.com/cclauss/spark patch-1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/21959.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #21959 ---- commit 15676ab875838cc99f71fab6f8618c886b294b1a Author: cclauss <cclauss@...> Date: 2018-08-02T05:13:37Z [SPARK-23698] Define xrange() for Python 3 in dumpdata_script.py __xrange()__ was removed in Python 3 in favor of __range()__. This simple change removes three Undefined Names was originally suggested in #20838 which is currently mired in 50+ comments on unrelated modifications. @HyukjinKwon @holdenk ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org