Last active
August 29, 2015 14:08
-
-
Save Atala/5f0b5ac60564e13d4a65 to your computer and use it in GitHub Desktop.
Proposal for switching threading module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
# keep original thread module for later use | |
original_thread_module = sys.modules.pop('threading', None) | |
import gevent.monkey | |
gevent.monkey.patch_all() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment