Repository navigation
MAINT: remove never-needed callable and never-used compat functions - #5221
Closed
jbrockmendel wants to merge 2 commits into
Closed
jbrockmendel wants to merge 2 commits into
jbrockmendel wants to merge 2 commits into
Conversation
jbrockmendel
commented
Sep 18, 2018
| pickle = cPickle | ||
| import urllib.request | ||
| import urllib.parse | ||
| from urllib.request import HTTPError, urlretrieve, URLError |
Contributor
Author
There was a problem hiding this comment.
ATM urlretrieve is defined twice
Member
|
LGTM. callable should definitely go. The others are likely overly aggressive copying from six. |
This was referenced Sep 18, 2018
jbrockmendel
force-pushed
the
cflint3
branch
from
September 19, 2018 04:14
4b37381 to
7a873e2
Compare
Codecov Report
@@ Coverage Diff @@
## master #5221 +/- ##
=========================================
Coverage ? 81.71%
=========================================
Files ? 569
Lines ? 89628
Branches ? 10022
=========================================
Hits ? 73238
Misses ? 14124
Partials ? 2266
Continue to review full report at Codecov.
|
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Broken off from #5181.
The only things outside of compat.python that are changed are imports of
callable, which are no longer necessary since 3.1,3.2 are not supported. Some other unused imports indatetoolsare cleaned up, nothing major.In compat.python,
callableis removed, along with a handful of functions that are never even imported.