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

use six.moves to handle imports from urllib, urllib2 and urlparse #83

Open
daira opened this issue Sep 27, 2014 · 1 comment
Open

use six.moves to handle imports from urllib, urllib2 and urlparse #83

daira opened this issue Sep 27, 2014 · 1 comment

Comments

@daira
Copy link
Contributor

daira commented Sep 27, 2014

E.g.

from urlparse import ParseResult

=>

from six.moves.urllib.parse import ParseResult

and

import urlparse
urlparse.ParseResult

=>

import six.moves.urllib.parse as urlparse
urlparse.ParseResult
@daira daira added this to the Release 0.5 milestone Sep 27, 2014
StevenMaude added a commit to sensiblecodeio/scraperwiki-python that referenced this issue Mar 3, 2015
python-modernize doesn't fix these automatically:
PyCQA/modernize#83
@zackw
Copy link

zackw commented Mar 9, 2017

Do want

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

No branches or pull requests

2 participants