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
GreenSocket is "intended to be 100% API-compatible" with socket.socket, according to its docstring.
Starting in Python 3.3, socket.error is no longer a separate class but merged with OSError (and in Windows, merged also with WindowsError). Thus, in Windows, this exception has an attribute winerror in addition to the usual errno.
OS exceptions raised from the regular socket.socket have this winerror attribute set. However, OS exceptions raised from GreenSocket do not.
The text was updated successfully, but these errors were encountered:
GreenSocket is "intended to be 100% API-compatible" with socket.socket, according to its docstring.
Starting in Python 3.3,
socket.error
is no longer a separate class but merged withOSError
(and in Windows, merged also withWindowsError
). Thus, in Windows, this exception has an attributewinerror
in addition to the usualerrno
.OS exceptions raised from the regular socket.socket have this
winerror
attribute set. However, OS exceptions raised from GreenSocket do not.The text was updated successfully, but these errors were encountered: