STINNER Victor <> added the comment:

Thanks Hai Shi for the bug report and the fix. It's now fixd in 3.7, 3.8 and 
master branches.

First I understood that you wanted to modify transient_internet() which is used 
in many places. Fixing support.get_socket_conn_refused_errs() is fine, it's 
only used in 2 test functions.

I don't think that it's worth it to fix Python 2.7 (which doesn't have 
get_socket_conn_refused_errs() function but build errno list directly in 

resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.7, Python 3.8

Python tracker <>
Python-bugs-list mailing list

Reply via email to