Repository navigation
Rm urllib - #2476
Rm urllib#2476
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2476 +/- ##
=======================================
Coverage 84.77% 84.77%
=======================================
Files 322 322
Lines 52460 52460
=======================================
Hits 44475 44475
Misses 7985 7985
Continue to review full report at Codecov.
|
|
Cross reference issue #2420 |
peterjc
left a comment
There was a problem hiding this comment.
Looks good - although I would probably squash-and-merge this into one commit as the changes are all so similar.
|
@peterjc what is the cross-reference issue? |
|
oh okay i got it now, at first i thought my code has some issue, really very sorry for bothering you. |
|
On the pull request template, I expected you to fill in this line:
to read:
I could have edited your pull request description, but added the issue number in a comment instead. Either way we get an automatic link shown on the issue to this pull request, so anyone looking there is aware of this work. Can you suggest how better to reword the template to better guide people? |
|
First of all, I think it is my lack of attention to things that led to this mistake and when I submitted the pull request I should have read every bit carefully but now I know.
The pull request template is more than fine and I guess instead of |
|
I'll leave this open another day or so in case anyone else wants to review it. There's a trivial merge conflict, and assuming we merge #2478 next there will be another one. |
|
Squashed and rebased... |
| raise RuntimeError("Internal test suite error, attempting to use internet despite --offline setting") | ||
|
|
||
| Bio._py3k.urlopen = dummy_urlopen | ||
| urllib.urlopen = dummy_urlopen |
There was a problem hiding this comment.
Yes - it is to make sure --offline is actually working.
|
@mdehoon with the Entrez conflicts done, are you in favour of merging this now? |
|
As the underscores were added as part of _py3k, they should be addressed as part of the removal of _py3k. |
|
@mdehoon Since this contributed pull request doesn't change the underscore status quo, and just does what I was suggesting in #2420, and we merge it now please? And yes, these particular leading underscores were added as part of the introduction of |
|
@peterjc What I meant was that because the underscores were added as part of _py3k as a temporary measure, and were not discussed or agreed upon to be a permanent feature of Biopython, the underscores should be removed in this PR. Then in #2483 we can discuss as a separate issue whether underscores should be added to all local imports. |
|
Michiel made a good point on #2483 about the Python standard library not being consistent on this point either, so I'm going to give up on the underscores here. As he says, there are more pressing things to work on. |
|
Merged, thank you! |
This pull request addresses issue #...
I hereby agree to dual licence this and any previous contributions under both
the Biopython License Agreement AND the BSD 3-Clause License.
I have read the
CONTRIBUTING.rstfile, have runflake8locally, andunderstand that AppVeyor and TravisCI will be used to confirm the Biopython unit
tests and style checks pass with these changes.
I have added my name to the alphabetical contributors listings in the files
NEWS.rstandCONTRIB.rstas part of this pull request, am listedalready, or do not wish to be listed. (This acknowledgement is optional.)