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 christian.heimes
Recipients christian.heimes
Date 2013-12-07.16:48:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386434917.9.0.425282577519.issue19919@psf.upfronthosting.co.za>
In-reply-to
Content
On Windows the test_connect_ex_error sometimes fails with EWOULDBLOCK instead of ECONNREFUSED. Valhallasw sometimes gets the same error with an Ubuntu VM on Windows. This might be a Windows socket issue. 

======================================================================
FAIL: test_connect_ex_error (test.test_ssl.NetworkedTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_ssl.py", line 1205, in test_connect_ex_error
    s.connect_ex(("svn.python.org", 444)))
AssertionError: 10061 != 10035

>>> for k, v in errno.__dict__.items():
...     if v == 10035: print(k)
...
EWOULDBLOCK
WSAEWOULDBLOCK
>>> for k, v in errno.__dict__.items():
...     if v == 10061: print(k)
...
WSAECONNREFUSED
ECONNREFUSED
History
Date User Action Args
2013-12-07 16:48:37christian.heimessetrecipients: + christian.heimes
2013-12-07 16:48:37christian.heimessetmessageid: <1386434917.9.0.425282577519.issue19919@psf.upfronthosting.co.za>
2013-12-07 16:48:37christian.heimeslinkissue19919 messages
2013-12-07 16:48:37christian.heimescreate