This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: usenetrc option broken
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: pitrou Nosy List: pitrou
Priority: normal Keywords:

Created on 2010-09-29 16:09 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg117627 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-09-29 16:09
The nntplib cleanup broke the "usenetrc" option to NNTP:


Traceback (most recent call last):
  File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/test/test_nntplib.py", line 167, in setUp
    self.server = NNTP(self.NNTP_HOST, timeout=TIMEOUT)
  File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/nntplib.py", line 937, in __init__
    readermode, usenetrc, timeout)
  File "/srv/buildbot/buildarea/3.x.bolen-ubuntu/build/Lib/nntplib.py", line 329, in __init__
    auth = credentials.authenticators(host)
NameError: global name 'host' is not defined
msg117628 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-09-29 16:20
Fixed in r85114.
History
Date User Action Args
2022-04-11 14:57:07adminsetgithub: 54196
2010-09-29 16:20:08pitrousetstatus: open -> closed
resolution: fixed
messages: + msg117628

stage: needs patch -> resolved
2010-09-29 16:09:21pitroucreate