Importing twisted patch from favoyang. Fixes #55.
This commit is contained in:
3
AUTHORS
3
AUTHORS
@@ -50,4 +50,5 @@ Thanks To
|
||||
* Slant, better iterator implementation in tpool
|
||||
* Ambroff, nice pygtk hub example
|
||||
* Michael Carter, and Marcin Bachry, nice repro of a bug and good diagnosis leading to the fix
|
||||
* David Ziegler, reporting issue #53
|
||||
* David Ziegler, reporting issue #53
|
||||
* Favo Yang, twisted hub patch
|
@@ -4,9 +4,8 @@ You generally don't have to use it unless you need to call reactor.run()
|
||||
yourself.
|
||||
"""
|
||||
from eventlet.hubs.twistedr import BaseTwistedHub
|
||||
from eventlet import use_hub
|
||||
from eventlet.support import greenlets as greenlet
|
||||
from eventlet.hubs import _threadlocal
|
||||
from eventlet.hubs import _threadlocal, use_hub
|
||||
|
||||
use_hub(BaseTwistedHub)
|
||||
assert not hasattr(_threadlocal, 'hub')
|
||||
|
Reference in New Issue
Block a user