-
Notifications
You must be signed in to change notification settings - Fork 12
Failing Tests
Fantix King edited this page Nov 27, 2013
·
2 revisions
-
[fantix] threadpool.py and test__backdoor.py
-
test_pywsgi
-
test_wsgi
-
testall (probably monkey patch related)
-
test__example_portforwarder
-
…
+ /Users/fantix/py3kenv/bin/python -u test__GreenletExit.py + /Users/fantix/py3kenv/bin/python -u test___example_servers.py + /Users/fantix/py3kenv/bin/python -u test__all__.py + /Users/fantix/py3kenv/bin/python -u test__api.py + /Users/fantix/py3kenv/bin/python -u test__api_timeout.py + /Users/fantix/py3kenv/bin/python -u test__backdoor.py + /Users/fantix/py3kenv/bin/python -u test__core_callback.py + /Users/fantix/py3kenv/bin/python -u test__destroy.py - /Users/fantix/py3kenv/bin/python -u test__GreenletExit.py [took 0.3s] + /Users/fantix/py3kenv/bin/python -u test__doctests.py - /Users/fantix/py3kenv/bin/python -u test__core_callback.py [took 0.3s] + /Users/fantix/py3kenv/bin/python -u test__environ.py - /Users/fantix/py3kenv/bin/python -u test__destroy.py [took 0.3s] + /Users/fantix/py3kenv/bin/python -u test__event.py | /Users/fantix/py3kenv/bin/python -u test__backdoor.py Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/greenlet.py", line 322, in run result = self._run(*self.args, **self.kwargs) File "test__backdoor.py", line 30, in connect conn = create_connection(('127.0.0.1', server.server_port)) File "test__backdoor.py", line 19, in create_connection conn.connect(address) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' <Greenlet at 0x11052e370: connect> failed with AttributeError ...... /Users/fantix/gevent3/gevent/socket.py:320: ResourceWarning: unclosed <socket object, fd=6, family=2, type=1, proto=0> self._sock = _closedsocket() .EEEE ====================================================================== ERROR: test_banner (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__backdoor.py", line 70, in test_banner conn = create_connection(('127.0.0.1', server.server_port)) File "test__backdoor.py", line 19, in create_connection conn.connect(address) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_builtins (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__backdoor.py", line 80, in test_builtins conn = create_connection(('127.0.0.1', server.server_port)) File "test__backdoor.py", line 19, in create_connection conn.connect(address) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_quit (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__backdoor.py", line 45, in test_quit conn = create_connection(('127.0.0.1', server.server_port)) File "test__backdoor.py", line 19, in create_connection conn.connect(address) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_sys_exit (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__backdoor.py", line 57, in test_sys_exit conn = create_connection(('127.0.0.1', server.server_port)) File "test__backdoor.py", line 19, in create_connection conn.connect(address) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ---------------------------------------------------------------------- Ran 5 tests in 0.053s FAILED (errors=4) ! /Users/fantix/py3kenv/bin/python -u test__backdoor.py [code 1] [took 0.5s] + /Users/fantix/py3kenv/bin/python -u test__example_echoserver.py | /Users/fantix/py3kenv/bin/python -u test__all__.py FFF/Users/fantix/py3kenv/lib/python3.3/importlib/_bootstrap.py:313: DeprecationWarning: gevent.coros has been renamed to gevent.lock return f(*args, **kwds) FFFFFFFFFFEFEFFFFEFFFFFFFE ====================================================================== ERROR: test_pywsgi (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_pywsgi File "test__all__.py", line 142, in _test exec("import %s" % modname, {}) File "<string>", line 1, in <module> File "/Users/fantix/gevent3/gevent/pywsgi.py", line 356 except socket.error, ex: ^ SyntaxError: invalid syntax ====================================================================== ERROR: test_resolver_ares (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_resolver_ares File "test__all__.py", line 142, in _test exec("import %s" % modname, {}) File "<string>", line 1, in <module> File "/Users/fantix/gevent3/gevent/resolver_ares.py", line 8, in <module> from gevent.ares import channel, InvalidIP ImportError: No module named 'gevent.ares' ====================================================================== ERROR: test_ssl (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_ssl File "test__all__.py", line 142, in _test exec("import %s" % modname, {}) File "<string>", line 1, in <module> File "/Users/fantix/gevent3/gevent/ssl.py", line 24, in <module> from gevent.socket import socket, _fileobject, timeout_default ImportError: cannot import name _fileobject ====================================================================== ERROR: test_wsgi (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_wsgi File "test__all__.py", line 142, in _test exec("import %s" % modname, {}) File "<string>", line 1, in <module> File "/Users/fantix/gevent3/gevent/wsgi.py", line 1, in <module> from gevent.pywsgi import * File "/Users/fantix/gevent3/gevent/pywsgi.py", line 356 except socket.error, ex: ^ SyntaxError: invalid syntax ====================================================================== FAIL: test__threading (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test__threading File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['BoundedSemaphore', 'Conditio... Second list contains 9 additional elements. First extra element 0: BoundedSemaphore - [] + ['BoundedSemaphore', + 'Condition', + 'Event', + 'Lock', + 'Queue', + 'RLock', + 'Semaphore', + 'local', + 'stack_size'] ====================================================================== FAIL: test_backdoor (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_backdoor File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['BackdoorServer'] Second list contains 1 additional elements. First extra element 0: BackdoorServer - [] + ['BackdoorServer'] ====================================================================== FAIL: test_baseserver (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_baseserver File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['BaseServer'] Second list contains 1 additional elements. First extra element 0: BaseServer - [] + ['BaseServer'] ====================================================================== FAIL: test_coros (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_coros File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['BoundedSemaphore', 'DummySem... Second list contains 4 additional elements. First extra element 0: BoundedSemaphore - [] + ['BoundedSemaphore', 'DummySemaphore', 'RLock', 'Semaphore'] ====================================================================== FAIL: test_event (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_event File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['AsyncResult', 'Event'] Second list contains 2 additional elements. First extra element 0: AsyncResult - [] + ['AsyncResult', 'Event'] ====================================================================== FAIL: test_greenlet (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_greenlet File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['Greenlet', 'joinall', 'killa... Second list contains 3 additional elements. First extra element 0: Greenlet - [] + ['Greenlet', 'joinall', 'killall'] ====================================================================== FAIL: test_hub (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_hub File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['GreenletExit', 'Hub', 'Waite... Second list contains 10 additional elements. First extra element 0: GreenletExit - [] + ['GreenletExit', + 'Hub', + 'Waiter', + 'get_hub', + 'getcurrent', + 'kill', + 'reinit', + 'signal', + 'sleep', + 'spawn_raw'] ====================================================================== FAIL: test_io (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_io File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['FileObject', 'FileObjectPosi... Second list contains 3 additional elements. First extra element 0: FileObject - [] + ['FileObject', 'FileObjectPosix', 'FileObjectThread'] ====================================================================== FAIL: test_local (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_local File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['local'] Second list contains 1 additional elements. First extra element 0: local - [] + ['local'] ====================================================================== FAIL: test_lock (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_lock File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['BoundedSemaphore', 'DummySem... Second list contains 4 additional elements. First extra element 0: BoundedSemaphore - [] + ['BoundedSemaphore', 'DummySemaphore', 'RLock', 'Semaphore'] ====================================================================== FAIL: test_monkey (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_monkey File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['patch_all', 'patch_os', 'pat... Second list contains 9 additional elements. First extra element 0: patch_all - [] + ['patch_all', + 'patch_os', + 'patch_select', + 'patch_socket', + 'patch_ssl', + 'patch_subprocess', + 'patch_sys', + 'patch_thread', + 'patch_time'] ====================================================================== FAIL: test_os (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_os File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['fork', 'make_nonblocking', '... Second list contains 6 additional elements. First extra element 0: fork - [] + ['fork', 'make_nonblocking', 'nb_read', 'nb_write', 'tp_read', 'tp_write'] ====================================================================== FAIL: test_pool (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_pool File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['Group', 'Pool'] Second list contains 2 additional elements. First extra element 0: Group - [] + ['Group', 'Pool'] ====================================================================== FAIL: test_queue (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_queue File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['Channel', 'JoinableQueue', '... Second list contains 5 additional elements. First extra element 0: Channel - [] + ['Channel', 'JoinableQueue', 'LifoQueue', 'PriorityQueue', 'Queue'] ====================================================================== FAIL: test_resolver_thread (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_resolver_thread File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['Resolver'] Second list contains 1 additional elements. First extra element 0: Resolver - [] + ['Resolver'] ====================================================================== FAIL: test_select (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_select File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['error', 'select'] Second list contains 2 additional elements. First extra element 0: error - [] + ['error', 'select'] ====================================================================== FAIL: test_server (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_server File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['DatagramServer', 'StreamServ... Second list contains 2 additional elements. First extra element 0: DatagramServer - [] + ['DatagramServer', 'StreamServer'] ====================================================================== FAIL: test_socket (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_socket File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['AF_APPLETALK', 'AF_DECnet', ... Second list contains 189 additional elements. First extra element 0: AF_APPLETALK Diff is 3477 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_subprocess (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_subprocess File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['CalledProcessError', 'PIPE',... Second list contains 7 additional elements. First extra element 0: CalledProcessError - [] + ['CalledProcessError', + 'PIPE', + 'Popen', + 'STDOUT', + 'call', + 'check_call', + 'check_output'] ====================================================================== FAIL: test_thread (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_thread File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['LockType', 'allocate_lock', ... Second list contains 7 additional elements. First extra element 0: LockType - [] + ['LockType', + 'allocate_lock', + 'error', + 'exit', + 'get_ident', + 'stack_size', + 'start_new_thread'] ====================================================================== FAIL: test_threading (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_threading File "test__all__.py", line 170, in _test self.check_implements_subset_of_stdlib_all() File "test__all__.py", line 78, in check_implements_subset_of_stdlib_all raise AssertionError('%r is not found in %r.__all__ nor in dir(%r)' % (name, self.stdlib_module, self.stdlib_module)) AssertionError: '_get_ident' is not found in <module 'threading' from '/usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/threading.py'>.__all__ nor in dir(<module 'threading' from '/usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/threading.py'>) ====================================================================== FAIL: test_threadpool (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_threadpool File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['ThreadPool', 'ThreadResult'] Second list contains 2 additional elements. First extra element 0: ThreadPool - [] + ['ThreadPool', 'ThreadResult'] ====================================================================== FAIL: test_timeout (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_timeout File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['Timeout', 'with_timeout'] Second list contains 2 additional elements. First extra element 0: Timeout - [] + ['Timeout', 'with_timeout'] ====================================================================== FAIL: test_util (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_util File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['wrap_errors'] Second list contains 1 additional elements. First extra element 0: wrap_errors - [] + ['wrap_errors'] ====================================================================== FAIL: test_win32util (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "<string>", line 1, in test_win32util File "test__all__.py", line 145, in _test self.check_all() File "test__all__.py", line 47, in check_all self.assertEqual(sorted(names), sorted(self.module.__all__)) AssertionError: Lists differ: [] != ['formatError'] Second list contains 1 additional elements. First extra element 0: formatError - [] + ['formatError'] ---------------------------------------------------------------------- Ran 29 tests in 0.151s FAILED (failures=25, errors=4) ! /Users/fantix/py3kenv/bin/python -u test__all__.py [code 1] [took 0.7s] + /Users/fantix/py3kenv/bin/python -u test__example_portforwarder.py | /Users/fantix/py3kenv/bin/python -u test__example_portforwarder.py File "test__example_portforwarder.py", line 29 print 'got %r' % data ^ SyntaxError: invalid syntax ! /Users/fantix/py3kenv/bin/python -u test__example_portforwarder.py [code 1] [took 0.1s] + /Users/fantix/py3kenv/bin/python -u test__example_udp_client.py | /Users/fantix/py3kenv/bin/python -u test__api.py /Users/fantix/gevent3/gevent/socket.py:320: ResourceWarning: unclosed <socket object, fd=3, family=1, type=1, proto=0> self._sock = _closedsocket() /Users/fantix/gevent3/gevent/socket.py:320: ResourceWarning: unclosed <socket object, fd=4, family=1, type=1, proto=0> self._sock = _closedsocket() ........ ---------------------------------------------------------------------- Ran 8 tests in 0.202s OK - /Users/fantix/py3kenv/bin/python -u test__api.py [took 0.7s] + /Users/fantix/py3kenv/bin/python -u test__example_udp_server.py | /Users/fantix/py3kenv/bin/python -u test__environ.py Traceback (most recent call last): File "test__environ.py", line 12, in <module> assert hub.loop.backend == 'select', hub.loop.backend AttributeError: '_UnixSelectorEventLoop' object has no attribute 'backend' Traceback (most recent call last): File "test__environ.py", line 9, in <module> assert popen.wait() == 0, popen.poll() AssertionError: 1 ! /Users/fantix/py3kenv/bin/python -u test__environ.py [code 1] [took 0.5s] + /Users/fantix/py3kenv/bin/python -u test__examples.py | /Users/fantix/py3kenv/bin/python -u test__example_udp_client.py Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "test__example_udp_client.py", line 1, in <module> from gevent import monkey; monkey.patch_all() File "/Users/fantix/gevent3/gevent/monkey.py", line 178, in patch_all patch_thread(Event=Event) File "/Users/fantix/gevent3/gevent/monkey.py", line 107, in patch_thread patch_module('threading') File "/Users/fantix/gevent3/gevent/monkey.py", line 61, in patch_module gevent_module = getattr(__import__('gevent.' + name), name) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ RuntimeError: maximum recursion depth exceeded ! /Users/fantix/py3kenv/bin/python -u test__example_udp_client.py [code 1] [took 0.4s] + /Users/fantix/py3kenv/bin/python -u test__exc_info.py | /Users/fantix/py3kenv/bin/python -u test__exc_info.py Traceback (most recent call last): File "test__exc_info.py", line 5, in <module> sys.exc_clear() AttributeError: 'module' object has no attribute 'exc_clear' ! /Users/fantix/py3kenv/bin/python -u test__exc_info.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__execmodules.py | /Users/fantix/py3kenv/bin/python -u test__api_timeout.py ... ---------------------------------------------------------------------- Ran 3 tests in 0.821s OK - /Users/fantix/py3kenv/bin/python -u test__api_timeout.py [took 1.3s] + /Users/fantix/py3kenv/bin/python -u test__fileobject.py | /Users/fantix/py3kenv/bin/python -u test__execmodules.py Traceback (most recent call last): File "test__execmodules.py", line 2, in <module> import six File "/Users/fantix/gevent3/greentest/six.py", line 2, in <module> from gevent.hub import PY3 ImportError: cannot import name PY3 ! /Users/fantix/py3kenv/bin/python -u test__execmodules.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__greenio.py | /Users/fantix/py3kenv/bin/python -u test__event.py ...Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/greenlet.py", line 322, in run result = self._run(*self.args, **self.kwargs) File "test__event.py", line 91, in func raise greentest.ExpectedException('TestAsyncResultAsLinkTarget.test_set_exception') greentest.ExpectedException: TestAsyncResultAsLinkTarget.test_set_exception <Greenlet at 0x10fe63190: func> failed with ExpectedException .E...E.E....EEEEEEEE ====================================================================== ERROR: test_outer_timeout_is_not_lost (__main__.TestAsyncResultGet) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/greentest.py", line 295, in test_outer_timeout_is_not_lost timeout = gevent.Timeout.start_new(0.001, ref=False) File "/Users/fantix/gevent3/gevent/timeout.py", line 127, in start_new timeout = cls(timeout, exception, ref=ref) File "/Users/fantix/gevent3/gevent/timeout.py", line 90, in __init__ raise NotImplementedError('ref is not implemented') NotImplementedError: ref is not implemented ====================================================================== ERROR: test_outer_timeout_is_not_lost (__main__.TestAsyncResultWait) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/greentest.py", line 295, in test_outer_timeout_is_not_lost timeout = gevent.Timeout.start_new(0.001, ref=False) File "/Users/fantix/gevent3/gevent/timeout.py", line 127, in start_new timeout = cls(timeout, exception, ref=ref) File "/Users/fantix/gevent3/gevent/timeout.py", line 90, in __init__ raise NotImplementedError('ref is not implemented') NotImplementedError: ref is not implemented ====================================================================== ERROR: test_outer_timeout_is_not_lost (__main__.TestEventWait) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/greentest.py", line 295, in test_outer_timeout_is_not_lost timeout = gevent.Timeout.start_new(0.001, ref=False) File "/Users/fantix/gevent3/gevent/timeout.py", line 127, in start_new timeout = cls(timeout, exception, ref=ref) File "/Users/fantix/gevent3/gevent/timeout.py", line 90, in __init__ raise NotImplementedError('ref is not implemented') NotImplementedError: ref is not implemented ====================================================================== ERROR: test (__main__.TestWait) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__event.py", line 139, in test events = [Event() for _ in xrange(self.N)] NameError: global name 'xrange' is not defined ====================================================================== ERROR: test_outer_timeout_is_not_lost (__main__.TestWaitAsyncResult) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/greentest.py", line 295, in test_outer_timeout_is_not_lost timeout = gevent.Timeout.start_new(0.001, ref=False) File "/Users/fantix/gevent3/gevent/timeout.py", line 127, in start_new timeout = cls(timeout, exception, ref=ref) File "/Users/fantix/gevent3/gevent/timeout.py", line 90, in __init__ raise NotImplementedError('ref is not implemented') NotImplementedError: ref is not implemented ====================================================================== ERROR: test_returns_none_after_timeout (__main__.TestWaitAsyncResult) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/greentest.py", line 317, in test_returns_none_after_timeout result = self.wait(timeout=0.2) File "test__event.py", line 30, in wait gevent.wait([AsyncResult()], timeout=timeout) File "/Users/fantix/gevent3/gevent/hub.py", line 663, in wait return list(iwait(objects, timeout)) File "/Users/fantix/gevent3/gevent/hub.py", line 609, in iwait timer = get_hub().loop.timer(timeout, priority=-1) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'timer' ====================================================================== ERROR: test_outer_timeout_is_not_lost (__main__.TestWaitEvent) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/greentest.py", line 295, in test_outer_timeout_is_not_lost timeout = gevent.Timeout.start_new(0.001, ref=False) File "/Users/fantix/gevent3/gevent/timeout.py", line 127, in start_new timeout = cls(timeout, exception, ref=ref) File "/Users/fantix/gevent3/gevent/timeout.py", line 90, in __init__ raise NotImplementedError('ref is not implemented') NotImplementedError: ref is not implemented ====================================================================== ERROR: test_returns_none_after_timeout (__main__.TestWaitEvent) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/greentest.py", line 317, in test_returns_none_after_timeout result = self.wait(timeout=0.2) File "test__event.py", line 18, in wait gevent.wait([Event()], timeout=timeout) File "/Users/fantix/gevent3/gevent/hub.py", line 663, in wait return list(iwait(objects, timeout)) File "/Users/fantix/gevent3/gevent/hub.py", line 609, in iwait timer = get_hub().loop.timer(timeout, priority=-1) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'timer' ====================================================================== ERROR: test (__main__.TestWait_count1) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__event.py", line 139, in test events = [Event() for _ in xrange(self.N)] NameError: global name 'xrange' is not defined ====================================================================== ERROR: test (__main__.TestWait_count2) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__event.py", line 139, in test events = [Event() for _ in xrange(self.N)] NameError: global name 'xrange' is not defined ====================================================================== ERROR: test (__main__.TestWait_notimeout) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__event.py", line 139, in test events = [Event() for _ in xrange(self.N)] NameError: global name 'xrange' is not defined ---------------------------------------------------------------------- Ran 23 tests in 0.558s FAILED (errors=11) ! /Users/fantix/py3kenv/bin/python -u test__event.py [code 1] [took 1.1s] + /Users/fantix/py3kenv/bin/python -u test__greenlet.py | /Users/fantix/py3kenv/bin/python -u test__fileobject.py EEEEEEE ====================================================================== ERROR: test_del (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__fileobject.py", line 24, in test_del self._test_del() File "test__fileobject.py", line 11, in _test_del s = FileObject(w, 'wb') File "/Users/fantix/gevent3/gevent/io.py", line 144, in __init__ if isinstance(fobj, (int, long)): NameError: global name 'long' is not defined ====================================================================== ERROR: test_del_close (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__fileobject.py", line 27, in test_del_close self._test_del(close=True) File "test__fileobject.py", line 11, in _test_del s = FileObject(w, 'wb') File "/Users/fantix/gevent3/gevent/io.py", line 144, in __init__ if isinstance(fobj, (int, long)): NameError: global name 'long' is not defined ====================================================================== ERROR: test_del_noclose (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__fileobject.py", line 33, in test_del_noclose s = FileObject(w, 'wb', close=False) File "/Users/fantix/gevent3/gevent/io.py", line 144, in __init__ if isinstance(fobj, (int, long)): NameError: global name 'long' is not defined ====================================================================== ERROR: test_newlines (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__fileobject.py", line 43, in test_newlines g = gevent.spawn(writer, FileObject(w, 'wb'), lines) File "/Users/fantix/gevent3/gevent/io.py", line 144, in __init__ if isinstance(fobj, (int, long)): NameError: global name 'long' is not defined ====================================================================== ERROR: test_del (__main__.TestSocketAdapter) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__fileobject.py", line 80, in test_del self._test_del() File "test__fileobject.py", line 68, in _test_del s = SocketAdapter(w) File "/Users/fantix/gevent3/gevent/io.py", line 46, in __init__ if not isinstance(fileno, (int, long)): NameError: global name 'long' is not defined ====================================================================== ERROR: test_del_close (__main__.TestSocketAdapter) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__fileobject.py", line 83, in test_del_close self._test_del(close=True) File "test__fileobject.py", line 68, in _test_del s = SocketAdapter(w) File "/Users/fantix/gevent3/gevent/io.py", line 46, in __init__ if not isinstance(fileno, (int, long)): NameError: global name 'long' is not defined ====================================================================== ERROR: test_del_noclose (__main__.TestSocketAdapter) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__fileobject.py", line 87, in test_del_noclose s = SocketAdapter(w, close=False) File "/Users/fantix/gevent3/gevent/io.py", line 46, in __init__ if not isinstance(fileno, (int, long)): NameError: global name 'long' is not defined ---------------------------------------------------------------------- Ran 7 tests in 0.002s FAILED (errors=7) Exception AttributeError: "'SocketAdapter' object has no attribute '_fileno'" in Exception AttributeError: "'SocketAdapter' object has no attribute '_fileno'" in Exception AttributeError: "'SocketAdapter' object has no attribute '_fileno'" in ! /Users/fantix/py3kenv/bin/python -u test__fileobject.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__greenletset.py | /Users/fantix/py3kenv/bin/python -u test__greenio.py EE ====================================================================== ERROR: test_close_with_makefile (__main__.TestGreenIo) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__greenio.py", line 70, in test_close_with_makefile did_it_work(server) File "test__greenio.py", line 61, in did_it_work client = socket.create_connection(('127.0.0.1', server.getsockname()[1])) File "/Users/fantix/gevent3/gevent/socket.py", line 571, in create_connection for res in getaddrinfo(host, port, 0 if has_ipv6 else AF_INET, SOCK_STREAM): File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_del_closes_socket (__main__.TestGreenIo) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__greenio.py", line 97, in test_del_closes_socket client = socket.create_connection(('127.0.0.1', server.getsockname()[1])) File "/Users/fantix/gevent3/gevent/socket.py", line 571, in create_connection for res in getaddrinfo(host, port, 0 if has_ipv6 else AF_INET, SOCK_STREAM): File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ---------------------------------------------------------------------- Ran 2 tests in 0.026s FAILED (errors=2) ! /Users/fantix/py3kenv/bin/python -u test__greenio.py [code 1] [took 0.3s] + /Users/fantix/py3kenv/bin/python -u test__greenness.py | /Users/fantix/py3kenv/bin/python -u test__examples.py + /Users/fantix/py3kenv/bin/python -u concurrent_download.py Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "concurrent_download.py", line 12, in <module> monkey.patch_all() File "/Users/fantix/gevent3/gevent/monkey.py", line 178, in patch_all patch_thread(Event=Event) File "/Users/fantix/gevent3/gevent/monkey.py", line 107, in patch_thread patch_module('threading') File "/Users/fantix/gevent3/gevent/monkey.py", line 61, in patch_module gevent_module = getattr(__import__('gevent.' + name), name) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ RuntimeError: maximum recursion depth exceeded ! /Users/fantix/py3kenv/bin/python -u concurrent_download.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u dns_mass_resolve.py Traceback (most recent call last): File "dns_mass_resolve.py", line 37, in <module> for x in xrange(10, 10 + N): NameError: name 'xrange' is not defined ! /Users/fantix/py3kenv/bin/python -u dns_mass_resolve.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u geventsendfile.py Traceback (most recent call last): File "geventsendfile.py", line 7, in <module> from sendfile import sendfile as original_sendfile ImportError: No module named 'sendfile' ! /Users/fantix/py3kenv/bin/python -u geventsendfile.py [code 1] [took 0.0s] + /Users/fantix/py3kenv/bin/python -u processes.py Traceback (most recent call last): File "processes.py", line 10, in <module> gevent.wait([p1, p2], timeout=2) File "/Users/fantix/gevent3/gevent/hub.py", line 663, in wait return list(iwait(objects, timeout)) File "/Users/fantix/gevent3/gevent/hub.py", line 609, in iwait timer = get_hub().loop.timer(timeout, priority=-1) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'timer' ! /Users/fantix/py3kenv/bin/python -u processes.py [code 1] [took 0.1s] + /Users/fantix/py3kenv/bin/python -u psycopg2_pool.py File "psycopg2_pool.py", line 150 print 'Running "select pg_sleep(1);" 4 times with 3 connections. Should take about 2 seconds: %.2fs' % delay ^ SyntaxError: invalid syntax ! /Users/fantix/py3kenv/bin/python -u psycopg2_pool.py [code 1] [took 0.0s] + /Users/fantix/py3kenv/bin/python -u threadpool.py File "threadpool.py", line 12 print 'Running "time.sleep(1)" 4 times with 3 threads. Should take about 2 seconds: %.3fs' % delay ^ SyntaxError: invalid syntax ! /Users/fantix/py3kenv/bin/python -u threadpool.py [code 1] [took 0.0s] ! Failed examples: ! - concurrent_download.py ! - dns_mass_resolve.py ! - geventsendfile.py ! - processes.py ! - psycopg2_pool.py ! - threadpool.py ! /Users/fantix/py3kenv/bin/python -u test__examples.py [code 1] [took 1.0s] + /Users/fantix/py3kenv/bin/python -u test__hub.py | /Users/fantix/py3kenv/bin/python -u test__example_echoserver.py + /Users/fantix/py3kenv/bin/python -u echoserver.py Starting echo server on port 6000 E ====================================================================== ERROR: test (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/util.py", line 370, in test self.before() File "/Users/fantix/gevent3/greentest/util.py", line 377, in before assert self.popen.poll() is None, '%s died with code %s' % (self.server, self.popen.poll(), ) File "/Users/fantix/gevent3/gevent/subprocess.py", line 334, in poll return self._internal_poll() File "/Users/fantix/gevent3/gevent/subprocess.py", line 399, in _internal_poll sig_pending = getattr(self._loop, 'sig_pending', True) AttributeError: 'Popen' object has no attribute '_loop' ---------------------------------------------------------------------- Ran 1 test in 1.014s FAILED (errors=1) ! /Users/fantix/py3kenv/bin/python -u test__example_echoserver.py [code 1] [took 1.3s] + /Users/fantix/py3kenv/bin/python -u test__issue302monkey.py | /Users/fantix/py3kenv/bin/python -u test__greenness.py Traceback (most recent call last): File "test__greenness.py", line 28, in <module> monkey.patch_all() File "/Users/fantix/gevent3/gevent/monkey.py", line 189, in patch_all patch_ssl() File "/Users/fantix/gevent3/gevent/monkey.py", line 145, in patch_ssl patch_module('ssl') File "/Users/fantix/gevent3/gevent/monkey.py", line 61, in patch_module gevent_module = getattr(__import__('gevent.' + name), name) File "/Users/fantix/gevent3/gevent/ssl.py", line 24, in <module> from gevent.socket import socket, _fileobject, timeout_default ImportError: cannot import name _fileobject ! /Users/fantix/py3kenv/bin/python -u test__greenness.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__issue6.py | /Users/fantix/py3kenv/bin/python -u test__issue6.py File "test__issue6.py", line 20 print '%s chars.' % len(line) ^ SyntaxError: invalid syntax ! /Users/fantix/py3kenv/bin/python -u test__issue6.py [code 1] [took 0.0s] + /Users/fantix/py3kenv/bin/python -u test__joinall.py | /Users/fantix/py3kenv/bin/python -u test__example_udp_server.py + /Users/fantix/py3kenv/bin/python -u udp_server.py File "udp_server.py", line 14 print '%s: got %r' % (address[0], data) ^ SyntaxError: invalid syntax F ====================================================================== FAIL: test (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/util.py", line 370, in test self.before() File "/Users/fantix/gevent3/greentest/util.py", line 377, in before assert self.popen.poll() is None, '%s died with code %s' % (self.server, self.popen.poll(), ) AssertionError: udp_server.py died with code 1 ---------------------------------------------------------------------- Ran 1 test in 1.007s FAILED (failures=1) ! /Users/fantix/py3kenv/bin/python -u test__example_udp_server.py [code 1] [took 1.3s] + /Users/fantix/py3kenv/bin/python -u test__local.py - /Users/fantix/py3kenv/bin/python -u test__joinall.py [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__loop_callback.py | /Users/fantix/py3kenv/bin/python -u test__issue302monkey.py Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/runpy.py", line 160, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/runpy.py", line 73, in _run_code exec(code, run_globals) File "/Users/fantix/gevent3/gevent/monkey.py", line 242, in <module> patch_all(**args) File "/Users/fantix/gevent3/gevent/monkey.py", line 178, in patch_all patch_thread(Event=Event) File "/Users/fantix/gevent3/gevent/monkey.py", line 107, in patch_thread patch_module('threading') File "/Users/fantix/gevent3/gevent/monkey.py", line 61, in patch_module gevent_module = getattr(__import__('gevent.' + name), name) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock RuntimeError: maximum recursion depth exceeded Traceback (most recent call last): File "test__issue302monkey.py", line 9, in <module> assert code == 0, code AssertionError: 1 ! /Users/fantix/py3kenv/bin/python -u test__issue302monkey.py [code 1] [took 0.3s] + /Users/fantix/py3kenv/bin/python -u test__memleak.py | /Users/fantix/py3kenv/bin/python -u test__local.py Traceback (most recent call last): File "test__local.py", line 4, in <module> from gevent import monkey; monkey.patch_all() File "/Users/fantix/gevent3/gevent/monkey.py", line 189, in patch_all patch_ssl() File "/Users/fantix/gevent3/gevent/monkey.py", line 145, in patch_ssl patch_module('ssl') File "/Users/fantix/gevent3/gevent/monkey.py", line 61, in patch_module gevent_module = getattr(__import__('gevent.' + name), name) File "/Users/fantix/gevent3/gevent/ssl.py", line 24, in <module> from gevent.socket import socket, _fileobject, timeout_default ImportError: cannot import name _fileobject ! /Users/fantix/py3kenv/bin/python -u test__local.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__monkey.py | /Users/fantix/py3kenv/bin/python -u test__loop_callback.py Traceback (most recent call last): File "test__loop_callback.py", line 1, in <module> from gevent.core import loop ImportError: No module named 'gevent.core' ! /Users/fantix/py3kenv/bin/python -u test__loop_callback.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__nondefaultloop.py | /Users/fantix/py3kenv/bin/python -u test__greenletset.py ...... ---------------------------------------------------------------------- Ran 6 tests in 0.544s OK - /Users/fantix/py3kenv/bin/python -u test__greenletset.py [took 0.8s] + /Users/fantix/py3kenv/bin/python -u test__order.py | /Users/fantix/py3kenv/bin/python -u test__memleak.py ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK - /Users/fantix/py3kenv/bin/python -u test__memleak.py [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__os.py | /Users/fantix/py3kenv/bin/python -u test__hub.py Exception in callback <function TestExceptionInMainloop.test_sleep.<locals>.fail at 0x105434050> () Traceback (most recent call last): File "/Users/fantix/py3kenv/lib/python3.3/site-packages/asyncio/events.py", line 38, in _run self._callback(*self._args) File "test__hub.py", line 59, in fail raise error greentest.ExpectedException: TestExceptionInMainloop.test_sleep/fail FE...EE ====================================================================== ERROR: test_outer_timeout_is_not_lost (__main__.TestSleep) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/greentest.py", line 295, in test_outer_timeout_is_not_lost timeout = gevent.Timeout.start_new(0.001, ref=False) File "/Users/fantix/gevent3/gevent/timeout.py", line 127, in start_new timeout = cls(timeout, exception, ref=ref) File "/Users/fantix/gevent3/gevent/timeout.py", line 90, in __init__ raise NotImplementedError('ref is not implemented') NotImplementedError: ref is not implemented ====================================================================== ERROR: test_outer_timeout_is_not_lost (__main__.TestWaiterGet) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/greentest.py", line 295, in test_outer_timeout_is_not_lost timeout = gevent.Timeout.start_new(0.001, ref=False) File "/Users/fantix/gevent3/gevent/timeout.py", line 127, in start_new timeout = cls(timeout, exception, ref=ref) File "/Users/fantix/gevent3/gevent/timeout.py", line 90, in __init__ raise NotImplementedError('ref is not implemented') NotImplementedError: ref is not implemented ====================================================================== ERROR: test_returns_none_after_timeout (__main__.TestWaiterGet) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/greentest.py", line 317, in test_returns_none_after_timeout result = self.wait(timeout=0.2) File "test__hub.py", line 90, in wait evt = get_hub().loop.timer(timeout) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'timer' ====================================================================== FAIL: test_sleep (__main__.TestExceptionInMainloop) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__hub.py", line 69, in test_sleep self.assert_error(value=error) File "/Users/fantix/gevent3/greentest/greentest.py", line 274, in assert_error assert error[2] is value, error AssertionError: (None, None, None) ---------------------------------------------------------------------- Ran 7 tests in 0.408s FAILED (failures=1, errors=3) ! /Users/fantix/py3kenv/bin/python -u test__hub.py [code 1] [took 0.6s] + /Users/fantix/py3kenv/bin/python -u test__pool.py | /Users/fantix/py3kenv/bin/python -u test__nondefaultloop.py Traceback (most recent call last): File "test__nondefaultloop.py", line 2, in <module> from gevent import core ImportError: cannot import name core ! /Users/fantix/py3kenv/bin/python -u test__nondefaultloop.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__pywsgi.py | /Users/fantix/py3kenv/bin/python -u test__pywsgi.py File "test__pywsgi.py", line 74 print 'Failed to split: %r' % (line, ) ^ SyntaxError: invalid syntax ! /Users/fantix/py3kenv/bin/python -u test__pywsgi.py [code 1] [took 0.1s] + /Users/fantix/py3kenv/bin/python -u test__queue.py | /Users/fantix/py3kenv/bin/python -u test__monkey.py Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "test__monkey.py", line 2, in <module> monkey.patch_all() File "/Users/fantix/gevent3/gevent/monkey.py", line 178, in patch_all patch_thread(Event=Event) File "/Users/fantix/gevent3/gevent/monkey.py", line 107, in patch_thread patch_module('threading') File "/Users/fantix/gevent3/gevent/monkey.py", line 61, in patch_module gevent_module = getattr(__import__('gevent.' + name), name) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ RuntimeError: maximum recursion depth exceeded ! /Users/fantix/py3kenv/bin/python -u test__monkey.py [code 1] [took 0.4s] + /Users/fantix/py3kenv/bin/python -u test__refcount.py | /Users/fantix/py3kenv/bin/python -u test__os.py EE ====================================================================== ERROR: test_if_pipe_blocks (__main__.TestOS_nb) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__os.py", line 34, in test_if_pipe_blocks buf = buffer(block) NameError: global name 'buffer' is not defined ====================================================================== ERROR: test_if_pipe_blocks (__main__.TestOS_tp) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__os.py", line 34, in test_if_pipe_blocks buf = buffer(block) NameError: global name 'buffer' is not defined ---------------------------------------------------------------------- Ran 2 tests in 0.001s FAILED (errors=2) ! /Users/fantix/py3kenv/bin/python -u test__os.py [code 1] [took 0.3s] + /Users/fantix/py3kenv/bin/python -u test__select.py | /Users/fantix/py3kenv/bin/python -u test__refcount.py File "test__refcount.py", line 104 print pformat(gc.get_referrers(w())) ^ SyntaxError: invalid syntax ! /Users/fantix/py3kenv/bin/python -u test__refcount.py [code 1] [took 0.1s] + /Users/fantix/py3kenv/bin/python -u test__semaphore.py | /Users/fantix/py3kenv/bin/python -u test__pool.py Traceback (most recent call last): File "test__pool.py", line 9, in <module> import six File "/Users/fantix/gevent3/greentest/six.py", line 2, in <module> from gevent.hub import PY3 ImportError: cannot import name PY3 ! /Users/fantix/py3kenv/bin/python -u test__pool.py [code 1] [took 0.3s] + /Users/fantix/py3kenv/bin/python -u test__server.py | /Users/fantix/py3kenv/bin/python -u test__select.py EEEEEE ====================================================================== ERROR: test_outer_timeout_is_not_lost (__main__.TestSelect) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/greentest.py", line 295, in test_outer_timeout_is_not_lost timeout = gevent.Timeout.start_new(0.001, ref=False) File "/Users/fantix/gevent3/gevent/timeout.py", line 127, in start_new timeout = cls(timeout, exception, ref=ref) File "/Users/fantix/gevent3/gevent/timeout.py", line 90, in __init__ raise NotImplementedError('ref is not implemented') NotImplementedError: ref is not implemented ====================================================================== ERROR: test_returns_none_after_timeout (__main__.TestSelect) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/greentest.py", line 317, in test_returns_none_after_timeout result = self.wait(timeout=0.2) File "test__select.py", line 10, in wait select.select([], [], [], timeout) File "/Users/fantix/gevent3/gevent/select.py", line 53, in select MAXPRI = loop.MAXPRI AttributeError: '_UnixSelectorEventLoop' object has no attribute 'MAXPRI' ====================================================================== ERROR: test_outer_timeout_is_not_lost (__main__.TestSelectRead) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/greentest.py", line 295, in test_outer_timeout_is_not_lost timeout = gevent.Timeout.start_new(0.001, ref=False) File "/Users/fantix/gevent3/gevent/timeout.py", line 127, in start_new timeout = cls(timeout, exception, ref=ref) File "/Users/fantix/gevent3/gevent/timeout.py", line 90, in __init__ raise NotImplementedError('ref is not implemented') NotImplementedError: ref is not implemented ====================================================================== ERROR: test_returns_none_after_timeout (__main__.TestSelectRead) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/fantix/gevent3/greentest/greentest.py", line 317, in test_returns_none_after_timeout result = self.wait(timeout=0.2) File "test__select.py", line 20, in wait select.select([r], [], [], timeout) File "/Users/fantix/gevent3/gevent/select.py", line 53, in select MAXPRI = loop.MAXPRI AttributeError: '_UnixSelectorEventLoop' object has no attribute 'MAXPRI' ====================================================================== ERROR: test_int (__main__.TestSelectTypes) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__select.py", line 30, in test_int select.select([int(sock.fileno())], [], [], 0.001) File "/Users/fantix/gevent3/gevent/select.py", line 53, in select MAXPRI = loop.MAXPRI AttributeError: '_UnixSelectorEventLoop' object has no attribute 'MAXPRI' ====================================================================== ERROR: test_string (__main__.TestSelectTypes) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__select.py", line 43, in test_string self.assertRaises(TypeError, select.select, ['hello'], [], [], 0.001) File "/usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/unittest/case.py", line 570, in assertRaises return context.handle('assertRaises', callableObj, args, kwargs) File "/usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/unittest/case.py", line 135, in handle callable_obj(*args, **kwargs) File "/Users/fantix/gevent3/gevent/select.py", line 53, in select MAXPRI = loop.MAXPRI AttributeError: '_UnixSelectorEventLoop' object has no attribute 'MAXPRI' ---------------------------------------------------------------------- Ran 6 tests in 0.005s FAILED (errors=6) ! /Users/fantix/py3kenv/bin/python -u test__select.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__server_pywsgi.py | /Users/fantix/py3kenv/bin/python -u test__semaphore.py .... ---------------------------------------------------------------------- Ran 4 tests in 0.025s OK - /Users/fantix/py3kenv/bin/python -u test__semaphore.py [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__signal.py | /Users/fantix/py3kenv/bin/python -u test__server.py E./Users/fantix/gevent3/gevent/socket.py:320: ResourceWarning: unclosed <socket object, fd=7, family=2, type=1, proto=0> self._sock = _closedsocket() EEEE/Users/fantix/gevent3/gevent/socket.py:320: ResourceWarning: unclosed <socket object, fd=11, family=2, type=1, proto=0> self._sock = _closedsocket() EEEE/Users/fantix/gevent3/gevent/socket.py:320: ResourceWarning: unclosed <socket object, fd=14, family=2, type=1, proto=0> self._sock = _closedsocket() EEE./Users/fantix/gevent3/gevent/socket.py:320: ResourceWarning: unclosed <socket object, fd=18, family=2, type=1, proto=0> self._sock = _closedsocket() EEEEE/Users/fantix/gevent3/gevent/socket.py:320: ResourceWarning: unclosed <socket object, fd=23, family=2, type=1, proto=0> self._sock = _closedsocket() EEEEE./Users/fantix/gevent3/gevent/socket.py:320: ResourceWarning: unclosed <socket object, fd=28, family=2, type=1, proto=0> self._sock = _closedsocket() EEEE/Users/fantix/gevent3/gevent/socket.py:320: ResourceWarning: unclosed <socket object, fd=32, family=2, type=1, proto=0> self._sock = _closedsocket() EEEE ====================================================================== ERROR: test_backlog_is_accepted_for_address (__main__.TestDefaultSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 204, in test_backlog_is_accepted_for_address self.assertConnectionRefused() File "test__server.py", line 95, in assertConnectionRefused conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_error_in_spawn (__main__.TestDefaultSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 289, in test_error_in_spawn self.assertAcceptedConnectionError() File "test__server.py", line 109, in assertAcceptedConnectionError Settings.assertAcceptedConnectionError(self) File "test__server.py", line 42, in assertAcceptedConnectionError conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_invalid_callback (__main__.TestDefaultSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 223, in test_invalid_callback self._test_invalid_callback() File "test__server.py", line 165, in _test_invalid_callback self.assert500() File "test__server.py", line 103, in assert500 Settings.assert500(self) File "test__server.py", line 42, in assertAcceptedConnectionError conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_serve_forever (__main__.TestDefaultSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 240, in test_serve_forever self.assertConnectionRefused() File "test__server.py", line 95, in assertConnectionRefused conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_serve_forever_after_start (__main__.TestDefaultSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 245, in test_serve_forever_after_start self.assertConnectionRefused() File "test__server.py", line 95, in assertConnectionRefused conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_server_closes_client_sockets (__main__.TestDefaultSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 254, in test_server_closes_client_sockets conn = self.send_request() File "test__server.py", line 88, in send_request conn = self.makefile(timeout=timeout, bufsize=bufsize) File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_subclass_just_create (__main__.TestDefaultSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 209, in test_subclass_just_create self.assertNotAccepted() File "test__server.py", line 115, in assertNotAccepted conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_subclass_with_address (__main__.TestDefaultSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 219, in test_subclass_with_address self.assertConnectionRefused() File "test__server.py", line 95, in assertConnectionRefused conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_subclass_with_socket (__main__.TestDefaultSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 214, in test_subclass_with_socket self.assertNotAccepted() File "test__server.py", line 115, in assertNotAccepted conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_assertion_in_blocking_func (__main__.TestNoneSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 343, in test_assertion_in_blocking_func self.assert500() File "test__server.py", line 103, in assert500 Settings.assert500(self) File "test__server.py", line 42, in assertAcceptedConnectionError conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_invalid_callback (__main__.TestNoneSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 335, in test_invalid_callback self._test_invalid_callback() File "test__server.py", line 165, in _test_invalid_callback self.assert500() File "test__server.py", line 103, in assert500 Settings.assert500(self) File "test__server.py", line 42, in assertAcceptedConnectionError conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_backlog_is_accepted_for_address (__main__.TestPoolSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 204, in test_backlog_is_accepted_for_address self.assertConnectionRefused() File "test__server.py", line 95, in assertConnectionRefused conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_error_in_spawn (__main__.TestPoolSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 289, in test_error_in_spawn self.assertAcceptedConnectionError() File "test__server.py", line 109, in assertAcceptedConnectionError Settings.assertAcceptedConnectionError(self) File "test__server.py", line 42, in assertAcceptedConnectionError conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_invalid_callback (__main__.TestPoolSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 223, in test_invalid_callback self._test_invalid_callback() File "test__server.py", line 165, in _test_invalid_callback self.assert500() File "test__server.py", line 103, in assert500 Settings.assert500(self) File "test__server.py", line 42, in assertAcceptedConnectionError conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_pool_full (__main__.TestPoolSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 313, in test_pool_full short_request = self.send_request('/short') File "test__server.py", line 88, in send_request conn = self.makefile(timeout=timeout, bufsize=bufsize) File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_serve_forever (__main__.TestPoolSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 240, in test_serve_forever self.assertConnectionRefused() File "test__server.py", line 95, in assertConnectionRefused conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_serve_forever_after_start (__main__.TestPoolSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 245, in test_serve_forever_after_start self.assertConnectionRefused() File "test__server.py", line 95, in assertConnectionRefused conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_server_closes_client_sockets (__main__.TestPoolSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 254, in test_server_closes_client_sockets conn = self.send_request() File "test__server.py", line 88, in send_request conn = self.makefile(timeout=timeout, bufsize=bufsize) File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_subclass_just_create (__main__.TestPoolSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 209, in test_subclass_just_create self.assertNotAccepted() File "test__server.py", line 115, in assertNotAccepted conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_subclass_with_address (__main__.TestPoolSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 219, in test_subclass_with_address self.assertConnectionRefused() File "test__server.py", line 95, in assertConnectionRefused conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_subclass_with_socket (__main__.TestPoolSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 214, in test_subclass_with_socket self.assertNotAccepted() File "test__server.py", line 115, in assertNotAccepted conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_backlog_is_accepted_for_address (__main__.TestRawSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 204, in test_backlog_is_accepted_for_address self.assertConnectionRefused() File "test__server.py", line 95, in assertConnectionRefused conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_error_in_spawn (__main__.TestRawSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 289, in test_error_in_spawn self.assertAcceptedConnectionError() File "test__server.py", line 109, in assertAcceptedConnectionError Settings.assertAcceptedConnectionError(self) File "test__server.py", line 42, in assertAcceptedConnectionError conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_invalid_callback (__main__.TestRawSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 223, in test_invalid_callback self._test_invalid_callback() File "test__server.py", line 165, in _test_invalid_callback self.assert500() File "test__server.py", line 103, in assert500 Settings.assert500(self) File "test__server.py", line 42, in assertAcceptedConnectionError conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_serve_forever (__main__.TestRawSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 240, in test_serve_forever self.assertConnectionRefused() File "test__server.py", line 95, in assertConnectionRefused conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_serve_forever_after_start (__main__.TestRawSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 245, in test_serve_forever_after_start self.assertConnectionRefused() File "test__server.py", line 95, in assertConnectionRefused conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_server_closes_client_sockets (__main__.TestRawSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 254, in test_server_closes_client_sockets conn = self.send_request() File "test__server.py", line 88, in send_request conn = self.makefile(timeout=timeout, bufsize=bufsize) File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_subclass_just_create (__main__.TestRawSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 209, in test_subclass_just_create self.assertNotAccepted() File "test__server.py", line 115, in assertNotAccepted conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_subclass_with_address (__main__.TestRawSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 219, in test_subclass_with_address self.assertConnectionRefused() File "test__server.py", line 95, in assertConnectionRefused conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_subclass_with_socket (__main__.TestRawSpawn) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__server.py", line 214, in test_subclass_with_socket self.assertNotAccepted() File "test__server.py", line 115, in assertNotAccepted conn = self.makefile() File "test__server.py", line 82, in makefile sock.connect((self.server.server_host, self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ---------------------------------------------------------------------- Ran 33 tests in 0.085s FAILED (errors=30) ! /Users/fantix/py3kenv/bin/python -u test__server.py [code 1] [took 0.3s] + /Users/fantix/py3kenv/bin/python -u test__sleep0.py | /Users/fantix/py3kenv/bin/python -u test__server_pywsgi.py Traceback (most recent call last): File "test__server_pywsgi.py", line 3, in <module> from gevent import pywsgi File "/Users/fantix/gevent3/gevent/pywsgi.py", line 356 except socket.error, ex: ^ SyntaxError: invalid syntax ! /Users/fantix/py3kenv/bin/python -u test__server_pywsgi.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__socket.py | /Users/fantix/py3kenv/bin/python -u test__signal.py E ====================================================================== ERROR: test (__main__.TestSignal) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__signal.py", line 23, in test sig = gevent.signal(signal.SIGALRM, raise_Expected) File "/Users/fantix/gevent3/gevent/hub.py", line 84, in __init__ self.watcher = self.hub.loop.signal(signalnum, ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'signal' ---------------------------------------------------------------------- Ran 1 test in 0.001s FAILED (errors=1) ! /Users/fantix/py3kenv/bin/python -u test__signal.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__socket_close.py - /Users/fantix/py3kenv/bin/python -u test__sleep0.py [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__socket_dns.py | /Users/fantix/py3kenv/bin/python -u test__socket_dns.py File "test__socket_dns.py", line 301 except Exception, ex: ^ SyntaxError: invalid syntax ! /Users/fantix/py3kenv/bin/python -u test__socket_dns.py [code 1] [took 0.1s] + /Users/fantix/py3kenv/bin/python -u test__socket_dns6.py | /Users/fantix/py3kenv/bin/python -u test__socket.py Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "test__socket.py", line 1, in <module> from gevent import monkey; monkey.patch_all() File "/Users/fantix/gevent3/gevent/monkey.py", line 178, in patch_all patch_thread(Event=Event) File "/Users/fantix/gevent3/gevent/monkey.py", line 107, in patch_thread patch_module('threading') File "/Users/fantix/gevent3/gevent/monkey.py", line 61, in patch_module gevent_module = getattr(__import__('gevent.' + name), name) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ RuntimeError: maximum recursion depth exceeded ! /Users/fantix/py3kenv/bin/python -u test__socket.py [code 1] [took 0.3s] + /Users/fantix/py3kenv/bin/python -u test__socket_errors.py | /Users/fantix/py3kenv/bin/python -u test__socket_close.py /Users/fantix/gevent3/gevent/socket.py:320: ResourceWarning: unclosed <socket object, fd=6, family=2, type=1, proto=0> self._sock = _closedsocket() EE ====================================================================== ERROR: test_recv_closed (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__socket_close.py", line 27, in test_recv_closed sock.connect(('127.0.0.1', self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ====================================================================== ERROR: test_recv_twice (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__socket_close.py", line 42, in test_recv_twice sock.connect(('127.0.0.1', self.server.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ---------------------------------------------------------------------- Ran 2 tests in 0.022s FAILED (errors=2) ! /Users/fantix/py3kenv/bin/python -u test__socket_close.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__socket_ex.py | /Users/fantix/py3kenv/bin/python -u test__socket_ex.py File "test__socket_ex.py", line 14 except socket.error, ex: ^ SyntaxError: invalid syntax ! /Users/fantix/py3kenv/bin/python -u test__socket_ex.py [code 1] [took 0.1s] + /Users/fantix/py3kenv/bin/python -u test__socket_ssl.py | /Users/fantix/py3kenv/bin/python -u test__socket_dns6.py Traceback (most recent call last): File "test__socket_dns6.py", line 6, in <module> from test__socket_dns import TestCase, add File "/Users/fantix/gevent3/greentest/test__socket_dns.py", line 301 except Exception, ex: ^ SyntaxError: invalid syntax ! /Users/fantix/py3kenv/bin/python -u test__socket_dns6.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__socket_timeout.py | /Users/fantix/py3kenv/bin/python -u test__socket_errors.py E ====================================================================== ERROR: test_connection_refused (__main__.TestSocketErrors) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__socket_errors.py", line 39, in test_connection_refused s.connect(('127.0.0.1', 81)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ---------------------------------------------------------------------- Ran 1 test in 0.008s FAILED (errors=1) ! /Users/fantix/py3kenv/bin/python -u test__socket_errors.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__ssl.py | /Users/fantix/py3kenv/bin/python -u test__socket_ssl.py Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "test__socket_ssl.py", line 2, in <module> from gevent import monkey; monkey.patch_all() File "/Users/fantix/gevent3/gevent/monkey.py", line 178, in patch_all patch_thread(Event=Event) File "/Users/fantix/gevent3/gevent/monkey.py", line 107, in patch_thread patch_module('threading') File "/Users/fantix/gevent3/gevent/monkey.py", line 61, in patch_module gevent_module = getattr(__import__('gevent.' + name), name) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ RuntimeError: maximum recursion depth exceeded ! /Users/fantix/py3kenv/bin/python -u test__socket_ssl.py [code 1] [took 0.3s] + /Users/fantix/py3kenv/bin/python -u test__subprocess.py | /Users/fantix/py3kenv/bin/python -u test__socket_timeout.py /Users/fantix/gevent3/gevent/socket.py:320: ResourceWarning: unclosed <socket object, fd=3, family=2, type=1, proto=0> self._sock = _closedsocket() E ====================================================================== ERROR: test (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__socket_timeout.py", line 26, in test sock.connect(('127.0.0.1', self.server_port)) File "/Users/fantix/gevent3/gevent/socket.py", line 331, in connect r = getaddrinfo(address[0], address[1], sock.family, sock.type, sock.proto) File "/Users/fantix/gevent3/gevent/socket.py", line 622, in getaddrinfo return get_hub().resolver.getaddrinfo(host, port, family, socktype, proto, flags) File "/Users/fantix/gevent3/gevent/hub.py", line 415, in _get_resolver self._resolver = self.resolver_class(hub=self) File "/Users/fantix/gevent3/gevent/resolver_thread.py", line 16, in __init__ self.pool = hub.threadpool File "/Users/fantix/gevent3/gevent/hub.py", line 430, in _get_threadpool self._threadpool = self.threadpool_class(self.threadpool_size, hub=self) File "/Users/fantix/gevent3/gevent/threadpool.py", line 45, in __init__ self.fork_watcher = hub.loop.fork(ref=False) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'fork' ---------------------------------------------------------------------- Ran 1 test in 0.034s FAILED (errors=1) ! /Users/fantix/py3kenv/bin/python -u test__socket_timeout.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__subprocess_interrupted.py | /Users/fantix/py3kenv/bin/python -u test__ssl.py Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/hub.py", line 147, in get_hub return loop.hub AttributeError: '_UnixSelectorEventLoop' object has no attribute 'hub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "test__ssl.py", line 1, in <module> from gevent import monkey; monkey.patch_all() File "/Users/fantix/gevent3/gevent/monkey.py", line 178, in patch_all patch_thread(Event=Event) File "/Users/fantix/gevent3/gevent/monkey.py", line 107, in patch_thread patch_module('threading') File "/Users/fantix/gevent3/gevent/monkey.py", line 61, in patch_module gevent_module = getattr(__import__('gevent.' + name), name) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ File "/Users/fantix/gevent3/gevent/_semaphore.py", line 21, in __init__ self._hub = get_hub() File "/Users/fantix/gevent3/gevent/hub.py", line 150, in get_hub hub = loop.hub = hubtype(*args, **kwargs) File "/Users/fantix/gevent3/gevent/hub.py", line 249, in __init__ self.format_context = _import(self.format_context) File "/Users/fantix/gevent3/gevent/hub.py", line 192, in _import x = __import__(module) File "<frozen importlib._bootstrap>", line 1562, in _find_and_load File "<frozen importlib._bootstrap>", line 279, in _get_module_lock File "<frozen importlib._bootstrap>", line 182, in __init__ RuntimeError: maximum recursion depth exceeded ! /Users/fantix/py3kenv/bin/python -u test__ssl.py [code 1] [took 0.3s] | /Users/fantix/py3kenv/bin/python -u test__subprocess_interrupted.py Traceback (most recent call last): File "test__subprocess_interrupted.py", line 12, in <module> for _ in xrange(5): NameError: name 'xrange' is not defined ! /Users/fantix/py3kenv/bin/python -u test__subprocess_interrupted.py [code 1] [took 0.1s] + /Users/fantix/py3kenv/bin/python -u test__subprocess_poll.py + /Users/fantix/py3kenv/bin/python -u test__systemerror.py | /Users/fantix/py3kenv/bin/python -u test__subprocess_poll.py Traceback (most recent call last): File "test__subprocess_poll.py", line 8, in <module> while popen.poll() is None: File "/Users/fantix/gevent3/gevent/subprocess.py", line 334, in poll return self._internal_poll() File "/Users/fantix/gevent3/gevent/subprocess.py", line 399, in _internal_poll sig_pending = getattr(self._loop, 'sig_pending', True) AttributeError: 'Popen' object has no attribute '_loop' ! /Users/fantix/py3kenv/bin/python -u test__subprocess_poll.py [code 1] [took 0.3s] + /Users/fantix/py3kenv/bin/python -u test__threading.py | /Users/fantix/py3kenv/bin/python -u test__systemerror.py EEEEEEEETraceback (most recent call last): File "/Users/fantix/gevent3/gevent/greenlet.py", line 322, in run result = self._run(*self.args, **self.kwargs) File "test__systemerror.py", line 8, in raise_ raise ex Exception: regular exception must not kill the program <Greenlet at 0x109b78050: raise_(Exception('regular exception must not kill the pro)> failed with Exception .Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/greenlet.py", line 322, in run result = self._run(*self.args, **self.kwargs) File "test__systemerror.py", line 8, in raise_ raise ex KeyboardInterrupt <Greenlet at 0x109b78550: raise_(<class 'KeyboardInterrupt'>)> failed with KeyboardInterrupt ..Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/greenlet.py", line 322, in run result = self._run(*self.args, **self.kwargs) File "test__systemerror.py", line 8, in raise_ raise ex SystemError: should be re-raised and caught <Greenlet at 0x109b78690: raise_(SystemError('should be re-raised and caught',))> failed with SystemError . ====================================================================== ERROR: test_exception (__main__.TestCallback) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__systemerror.py", line 51, in test_exception self.start(raise_, Exception('regular exception must not kill the program')) File "test__systemerror.py", line 61, in start self.x = get_hub().loop.run_callback(*args) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'run_callback' ====================================================================== ERROR: test_exception (__main__.TestCallback) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__systemerror.py", line 58, in tearDown assert not self.x.pending, self.x AttributeError: 'TestCallback' object has no attribute 'x' ====================================================================== ERROR: test_keyboard_interrupt (__main__.TestCallback) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__systemerror.py", line 30, in test_keyboard_interrupt self.start(raise_, KeyboardInterrupt) File "test__systemerror.py", line 61, in start self.x = get_hub().loop.run_callback(*args) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'run_callback' ====================================================================== ERROR: test_keyboard_interrupt (__main__.TestCallback) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__systemerror.py", line 58, in tearDown assert not self.x.pending, self.x AttributeError: 'TestCallback' object has no attribute 'x' ====================================================================== ERROR: test_sys_exit (__main__.TestCallback) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__systemerror.py", line 19, in test_sys_exit self.start(sys.exit, MSG) File "test__systemerror.py", line 61, in start self.x = get_hub().loop.run_callback(*args) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'run_callback' ====================================================================== ERROR: test_sys_exit (__main__.TestCallback) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__systemerror.py", line 58, in tearDown assert not self.x.pending, self.x AttributeError: 'TestCallback' object has no attribute 'x' ====================================================================== ERROR: test_system_error (__main__.TestCallback) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__systemerror.py", line 40, in test_system_error self.start(raise_, SystemError(MSG)) File "test__systemerror.py", line 61, in start self.x = get_hub().loop.run_callback(*args) AttributeError: '_UnixSelectorEventLoop' object has no attribute 'run_callback' ====================================================================== ERROR: test_system_error (__main__.TestCallback) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__systemerror.py", line 58, in tearDown assert not self.x.pending, self.x AttributeError: 'TestCallback' object has no attribute 'x' ---------------------------------------------------------------------- Ran 8 tests in 0.007s FAILED (errors=8) ! /Users/fantix/py3kenv/bin/python -u test__systemerror.py [code 1] [took 0.2s] + /Users/fantix/py3kenv/bin/python -u test__threading_patched_local.py | /Users/fantix/py3kenv/bin/python -u test__subprocess.py ..Traceback (most recent call last): File "/Users/fantix/gevent3/gevent/greenlet.py", line 322, in run result = self._run(*self.args, **self.kwargs) File "/Users/fantix/gevent3/gevent/subprocess.py", line 413, in write_and_close fobj.write(data) File "/Users/fantix/gevent3/gevent/subprocess.py", line 184, in write self._transport.write(data) File "/Users/fantix/py3kenv/lib/python3.3/site-packages/asyncio/unix_events.py", line 280, in write assert isinstance(data, bytes), repr(data) AssertionError: 'banana' <Greenlet at 0x10f927190: write_and_close(<gevent.subprocess.StreamWriter object at 0x10f91a, 'banana')> failed with AssertionError F...EFF. ====================================================================== ERROR: test_nonblock_removed (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__subprocess.py", line 121, in test_nonblock_removed p = subprocess.Popen(['grep', 'text'], stdin=subprocess.FileObject(r)) AttributeError: 'module' object has no attribute 'FileObject' ====================================================================== FAIL: test_communicate (__main__.Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "test__subprocess.py", line 54, in test_communicate self.assertEqual(stdout, "banana") AssertionError: '' != 'banana' + banana ====================================================================== FAIL: test_universal1 (__m