Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all six functionality #1040

Closed
dorothykiz1 opened this issue Feb 19, 2022 · 2 comments · Fixed by #1136
Closed

Remove all six functionality #1040

dorothykiz1 opened this issue Feb 19, 2022 · 2 comments · Fixed by #1136

Comments

@dorothykiz1
Copy link
Contributor

dorothykiz1 commented Feb 19, 2022

six provides simple utilities for wrapping over differences between Python 2 and Python 3.

Follow this guide https://six.readthedocs.io/to find python 3 equivalent for python 2 six functionality.

Remove all six imports and functionality and replace them with python 3 equivalent.
ie. from six.xrange() to range()

@Leenkiz
Copy link
Contributor

Leenkiz commented Feb 26, 2022

#take

@datapythonista
Copy link
Member

Those are all the uses of six that we still got pending:

asv/step_detect.py:import six
asv/graph.py:from six.moves import xrange
asv/util.py:import six
asv/util.py:from six.moves import xrange
asv/plugins/regressions.py:from six.moves.urllib.parse import urlencode
asv/commands/preview.py:from six.moves import SimpleHTTPServer, socketserver
asv/commands/quickstart.py:from six.moves import input as raw_input
asv/results.py:from six.moves import zip as izip
test/test_workflow.py:import six
test/test_console.py:import six
test/tools.py:import six
test/tools.py:from six.moves import SimpleHTTPServer
test/test_web.py:from six.moves.urllib.parse import parse_qs, splitquery, splittag
test/test_results.py:import six

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants