You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like connect(address), but return an error indicator instead of raising an exception for errors returned by the C-level connect() call (other problems, such as "host not found" can still raise exceptions).
882
+
Like connect(address), but return an error indicator instead of raising an exception for errors returned by the C-level connect() call (other problems, such as "host not found" can still raise exceptions). # noqa
883
883
"""
884
884
try:
885
885
self.connect(dest_pair, catch_errors=True)
886
886
return0
887
887
exceptOSErrorase:
888
888
# If the error is numeric (socket errors are numeric), then return number as
889
-
# connect_ex expects. Otherwise raise the error again (socket timeout for example)
889
+
# connect_ex expects. Otherwise raise the error again (socket timeout for example) # noqa
This module provides a Handler which you can use with urllib2 to allow it to tunnel your connection through a socks.sockssocket socket, with out monkey patching the original socket...
9
+
This module provides a Handler which you can use with urllib2 to allow it to tunnel your connection through a socks.sockssocket socket, with out monkey patching the original socket... # noqa
0 commit comments