[issue12500] support.transient_internet(): catch also Windows socket errors

2011-07-05 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file22582/test_ssl.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12500] support.transient_internet(): catch also Windows socket errors

2011-07-05 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file22575/transient_internet_windows.patch ___ Python tracker ___ ___ Python-

[issue12500] support.transient_internet(): catch also Windows socket errors

2011-07-05 Thread STINNER Victor
STINNER Victor added the comment: Updated patch: add support.transient_errors tuple. -- Added file: http://bugs.python.org/file22583/test_ssl-2.patch ___ Python tracker ___

[issue12500] support.transient_internet(): catch also Windows socket errors

2011-07-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Oh ok. Here is a patch for test_ssl.test_connect_ex() ignoring ECONNREFUSED > error. IMO you also want to test for the other errnos in transient_internet. Also, it should skip the test if the connection is refused. -- __

[issue12500] support.transient_internet(): catch also Windows socket errors

2011-07-05 Thread STINNER Victor
STINNER Victor added the comment: > You don't need to add WSAECONNREFUSED, > it's already there as ECONNREFUSED Oh ok. Here is a patch for test_ssl.test_connect_ex() ignoring ECONNREFUSED error. -- Added file: http://bugs.python.org/file22582/test_ssl.patch __

[issue12500] support.transient_internet(): catch also Windows socket errors

2011-07-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: You don't need to add WSAECONNREFUSED, it's already there as ECONNREFUSED: >>> errno.ECONNREFUSED 10061 >>> errno.WSAECONNREFUSED 10061 As for (WSA)ENOTCONN, I don't want to add it before knowing what happens. It may signal a programming error. -- _

[issue12500] support.transient_internet(): catch also Windows socket errors

2011-07-05 Thread STINNER Victor
New submission from STINNER Victor : == ERROR: test_non_blocking_connect_ex (test.test_ssl.NetworkedTests) -- Traceback (most recent call last): File "D:\cygw