Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  >>> import socket
  >>> issubclass(socket.error, Exception)
  True
It's been like this since Python 2.4 at least.


I stand corrected. Well, partly. Looks like it was changed in 2.6.

https://docs.python.org/2/library/socket.html#socket.error




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: