Commit 844630c5 authored by Denis Bilenko's avatar Denis Bilenko

monkey: this is not necessary as thread._local is now included in gevent.thread.__implements__

parent ded7335a
......@@ -117,8 +117,6 @@ def patch_thread(threading=True, _threading_local=True):
if not patch_module('thread'):
return
from gevent.local import local
thread = __import__('thread')
thread._local = local
if threading:
if noisy and 'threading' in sys.modules:
sys.stderr.write("gevent.monkey's warning: 'threading' is already imported\n\n")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment