(Unfortunately, nntplib doesn't have a test suite)
"""
self.host = host
self.port = port
- self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- self.sock.connect((self.host, self.port))
+ self.sock = socket.create_connection((host, port))
self.file = self.sock.makefile('rb')
self.debugging = 0
self.welcome = self.getresp()
The Dragon De Monsyne
Skip Montanaro
Paul Moore
+Derek Morr
James A Morrison
Sjoerd Mullender
Sape Mullender
Library
-------
+- Issue #1664: Make nntplib IPv6-capable. Patch by Derek Morr.
+
- Issue #6022: a test file was created in the current working directory by
test_get_outputs in Distutils.