Closed cclauss closed 6 years ago
Thanks for the PR! This file looks to be unchanged from the upstream https://github.com/nodejs/node repository, so rather than introducing an unnecessary difference in our fork, could you please open an equivalent PR against them? We'll get the change after it merges in as part of our regular updates from upstream, and this way the greater nodejs community gets the benefit.
Made in upstream https://github.com/nodejs/node
Thanks!
xrange() was removed in Python 3 in favor of range(). This PR ensures similar functionality on both Python 2 and Python 3.
Similar to https://github.com/nodejs/nan/pull/797
Discovered via https://travis-ci.com/nodejs/node/builds/79706150 (https://github.com/nodejs/node/pull/21942)
flake8 testing of https://github.com/nodejs/node-chakracore on Python 3.7.0
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes