Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
fd77197b
Commit
fd77197b
authored
Jul 24, 2013
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 'urlsplit' and 'urlunsplit' to compat module
parent
9a3cc1cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
setuptools/compat.py
setuptools/compat.py
+5
-2
No files found.
setuptools/compat.py
View file @
fd77197b
...
@@ -29,7 +29,7 @@ if sys.version_info[0] < 3:
...
@@ -29,7 +29,7 @@ if sys.version_info[0] < 3:
from
urllib
import
url2pathname
from
urllib
import
url2pathname
import
urllib2
import
urllib2
from
urllib2
import
urlopen
,
HTTPError
,
URLError
,
unquote
,
splituser
from
urllib2
import
urlopen
,
HTTPError
,
URLError
,
unquote
,
splituser
from
urlparse
import
urlparse
,
urlunparse
,
urljoin
from
urlparse
import
urlparse
,
urlunparse
,
urljoin
,
urlsplit
,
urlunsplit
xrange
=
xrange
xrange
=
xrange
filterfalse
=
itertools
.
ifilterfalse
filterfalse
=
itertools
.
ifilterfalse
...
@@ -72,7 +72,10 @@ else:
...
@@ -72,7 +72,10 @@ else:
from
urllib.error
import
HTTPError
,
URLError
from
urllib.error
import
HTTPError
,
URLError
import
urllib.request
as
urllib2
import
urllib.request
as
urllib2
from
urllib.request
import
urlopen
,
url2pathname
from
urllib.request
import
urlopen
,
url2pathname
from
urllib.parse
import
urlparse
,
urlunparse
,
unquote
,
splituser
,
urljoin
from
urllib.parse
import
(
urlparse
,
urlunparse
,
unquote
,
splituser
,
urljoin
,
urlsplit
,
urlunsplit
,
)
xrange
=
range
xrange
=
range
filterfalse
=
itertools
.
filterfalse
filterfalse
=
itertools
.
filterfalse
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment