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
6b8c9181
Commit
6b8c9181
authored
Dec 11, 2015
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get filter from the future
parent
dacc2469
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
setuptools/compat.py
setuptools/compat.py
+4
-0
setuptools/package_index.py
setuptools/package_index.py
+1
-1
No files found.
setuptools/compat.py
View file @
6b8c9181
...
...
@@ -29,6 +29,8 @@ if PY2:
from
urllib2
import
urlopen
,
HTTPError
,
URLError
,
unquote
,
splituser
from
urlparse
import
urlparse
,
urlunparse
,
urljoin
,
urlsplit
,
urlunsplit
filterfalse
=
itertools
.
ifilterfalse
filter
=
itertools
.
ifilter
map
=
itertools
.
imap
exec
(
"""def reraise(tp, value, tb=None):
raise tp, value, tb"""
)
...
...
@@ -59,6 +61,8 @@ if PY3:
urlunsplit
,
splittag
,
)
filterfalse
=
itertools
.
filterfalse
filter
=
filter
map
=
map
def
reraise
(
tp
,
value
,
tb
=
None
):
if
value
.
__traceback__
is
not
tb
:
...
...
setuptools/package_index.py
View file @
6b8c9181
...
...
@@ -20,7 +20,7 @@ from setuptools.compat import (urllib2, httplib, StringIO, HTTPError,
urlparse
,
urlunparse
,
unquote
,
splituser
,
url2pathname
,
name2codepoint
,
unichr
,
urljoin
,
urlsplit
,
urlunsplit
,
ConfigParser
)
ConfigParser
,
filter
)
from
setuptools.compat
import
filterfalse
from
fnmatch
import
translate
from
setuptools.py26compat
import
strip_fragment
...
...
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