Skip to content

Instantly share code, notes, and snippets.

@munhitsu
Created March 13, 2013 16:14
Show Gist options
  • Save munhitsu/5153686 to your computer and use it in GitHub Desktop.
Save munhitsu/5153686 to your computer and use it in GitHub Desktop.
How to confirm if gevent monkey patch works
from gevent import socket as g_socket
assert g_socket.timeout == socket.timeout
print "gevent monkey patch for socket confirmed"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment