mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Merged revisions 72640 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72640 | antoine.pitrou | 2009-05-14 23:22:08 +0200 (jeu., 14 mai 2009) | 5 lines Issue #1664: Make nntplib IPv6-capable. Patch by Derek Morr. (Unfortunately, nntplib doesn't have a test suite) ........
This commit is contained in:
parent
b7489a94ef
commit
05c8232dbc
3 changed files with 4 additions and 2 deletions
|
@ -109,8 +109,7 @@ class NNTP:
|
|||
"""
|
||||
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()
|
||||
|
|
|
@ -476,6 +476,7 @@ Doug Moen
|
|||
The Dragon De Monsyne
|
||||
Skip Montanaro
|
||||
Paul Moore
|
||||
Derek Morr
|
||||
James A Morrison
|
||||
Sjoerd Mullender
|
||||
Sape Mullender
|
||||
|
|
|
@ -194,6 +194,8 @@ Core and Builtins
|
|||
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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue