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

bpo-39305: Refactor nntplib.py #18045

Open
wants to merge 2 commits into
base: master
from

Conversation

@LucianaMarques
Copy link

LucianaMarques commented Jan 17, 2020

  • Join two classes (NNTP and _NNTPBase)
  • Modify one test accordingly

https://bugs.python.org/issue39305

* Join two classes (NNTP and _NNTPBase)
* Modify one test accordingly
@LucianaMarques

This comment has been minimized.

Copy link
Author

LucianaMarques commented Jan 17, 2020

@corona10 and @vstinner this PR is in reference of bpo-39305, could you please take a look when you have a chance?

Thanks :)

@@ -310,8 +309,9 @@ class _NNTPBase:
encoding = 'utf-8'
errors = 'surrogateescape'

def __init__(self, file, host,
readermode=None, timeout=_GLOBAL_DEFAULT_TIMEOUT):
def __init__(self, host, file=None,

This comment has been minimized.

Copy link
@corona10

corona10 Jan 18, 2020

Member

I don't want to add a new parameter file for NNTP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.