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.

Author kaizhu
Recipients eric.smith, kaizhu, pitrou, r.david.murray
Date 2010-10-12.03:50:16
SpamBayes Score 2.9507025e-10
Marked as misclassified No
Message-id <1286855420.95.0.101875969555.issue10041@psf.upfronthosting.co.za>
In-reply-to
Content
added unittest to patch
tested test.test_socket on debian colinux running under winxp



i get 2 unrelated errors (in both patched and unpatched version) from testRDM and testStream about socket.AF_TIPC being unsupported:



public@colinux 3 ~/build/py3k.patch: ./python -m unittest test.test_socket
..................................................................s..........................................EE....................
======================================================================
ERROR: testRDM (test.test_socket.TIPCTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/public/build/py3k.patch/Lib/test/test_socket.py", line 1683, in testRDM
    srv = socket.socket(socket.AF_TIPC, socket.SOCK_RDM)
  File "/home/public/build/py3k.patch/Lib/socket.py", line 94, in __init__
    _socket.socket.__init__(self, family, type, proto, fileno)
socket.error: [Errno 97] Address family not supported by protocol

======================================================================
ERROR: testStream (test.test_socket.TIPCThreadableTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/public/build/py3k.patch/Lib/test/test_socket.py", line 131, in _setUp
    self.__setUp()
  File "/home/public/build/py3k.patch/Lib/test/test_socket.py", line 1707, in setUp
    self.srv = socket.socket(socket.AF_TIPC, socket.SOCK_STREAM)
  File "/home/public/build/py3k.patch/Lib/socket.py", line 94, in __init__
    _socket.socket.__init__(self, family, type, proto, fileno)
socket.error: [Errno 97] Address family not supported by protocol

----------------------------------------------------------------------
Ran 131 tests in 15.960s

FAILED (errors=2, skipped=1)
History
Date User Action Args
2010-10-12 03:50:22kaizhusetrecipients: + kaizhu, pitrou, eric.smith, r.david.murray
2010-10-12 03:50:20kaizhusetmessageid: <1286855420.95.0.101875969555.issue10041@psf.upfronthosting.co.za>
2010-10-12 03:50:19kaizhulinkissue10041 messages
2010-10-12 03:50:18kaizhucreate