SYMBOL INDEX (241 symbols across 31 files) FILE: examples/echo2.py function echo_handler (line 6) | def echo_handler(client, addr): function killer (line 19) | def killer(delay, t): function echo_server (line 23) | def echo_server(host, port): FILE: examples/echoss.py class EchoHandler (line 11) | class EchoHandler(socketserver.BaseRequestHandler): method handle (line 12) | def handle(self): class EchoStreamHandler (line 24) | class EchoStreamHandler(socketserver.StreamRequestHandler): method handle (line 25) | def handle(self): class ThredoTCPServer (line 34) | class ThredoTCPServer(thredo.ThredoMixIn, socketserver.TCPServer): function main (line 38) | def main(): FILE: examples/euro/ex1.py function func (line 3) | def func(x, y): function main (line 6) | def main(): FILE: examples/euro/ex2.py function func (line 5) | def func(n, label): function main (line 14) | def main(): FILE: examples/euro/ex3.py function func (line 5) | def func(): function main (line 14) | def main(): FILE: examples/euro/ex4.py function func (line 5) | def func(lck, label): function main (line 12) | def main(): FILE: examples/euro/ex5.py function philosopher (line 8) | def philosopher(n): function main (line 19) | def main(): FILE: examples/euro/ex6.py function worker (line 5) | def worker(q, label): function spin (line 14) | def spin(n): function main (line 20) | def main(): FILE: examples/euro/ex7.py function func (line 10) | def func(): function main (line 17) | def main(): FILE: examples/euro/serv.py function server (line 5) | def server(address): function handler (line 14) | def handler(client, address): FILE: examples/ex1.py function func (line 7) | def func(x, y): function main (line 10) | def main(): FILE: examples/ex2.py function sum_to_n (line 7) | def sum_to_n(n, label): function main (line 16) | def main(): FILE: examples/ex3.py function hello (line 7) | def hello(sec): function main (line 15) | def main(): FILE: examples/happy.py function open_tcp_stream (line 7) | def open_tcp_stream(hostname, port, happy_eyeballs_delay=0.3): function main (line 49) | def main(): FILE: examples/prod.py function consumer (line 3) | def consumer(q): function producer (line 12) | def producer(q, count): function main (line 18) | def main(): FILE: examples/treq.py function get (line 4) | def get(session, url): function main (line 10) | def main(): FILE: examples/tut.py function countdown (line 4) | def countdown(n): function friend (line 10) | def friend(name): function kid (line 21) | def kid(): function parent (line 41) | def parent(): FILE: tests/test_core.py function basic_thread (line 8) | def basic_thread(x, y): function test_good (line 12) | def test_good(): function test_bad (line 16) | def test_bad(): function test_good_spawn (line 23) | def test_good_spawn(): function test_bad_spawn (line 32) | def test_bad_spawn(): function test_sleep (line 45) | def test_sleep(): function test_sleep_cancel (line 56) | def test_sleep_cancel(): function test_timeout (line 72) | def test_timeout(): function test_timeout_context (line 83) | def test_timeout_context(): function test_ignore (line 95) | def test_ignore(): function test_ignore_context (line 104) | def test_ignore_context(): FILE: tests/test_io.py function test_read_partial (line 6) | def test_read_partial(): function test_readall (line 44) | def test_readall(): function test_readall_partial (line 93) | def test_readall_partial(): function test_readall_timeout (line 132) | def test_readall_timeout(): function test_read_exactly (line 180) | def test_read_exactly(): function test_read_exactly_incomplete (line 226) | def test_read_exactly_incomplete(): function test_read_exactly_timeout (line 265) | def test_read_exactly_timeout(): function test_readline (line 315) | def test_readline(): function test_readlines (line 362) | def test_readlines(): function test_readlines_timeout (line 407) | def test_readlines_timeout(): function test_writelines (line 456) | def test_writelines(): function test_writelines_timeout (line 500) | def test_writelines_timeout(): function test_write_timeout (line 547) | def test_write_timeout(): function test_iterline (line 589) | def test_iterline(): function test_sendall_cancel (line 635) | def test_sendall_cancel(): FILE: tests/test_queue.py function test_queue_simple (line 5) | def test_queue_simple(): function test_queue_get_cancel (line 34) | def test_queue_get_cancel(): function test_queue_put_cancel (line 53) | def test_queue_put_cancel(): function test_queue_join_cancel (line 73) | def test_queue_join_cancel(): FILE: tests/test_sync.py function test_event_wait (line 3) | def test_event_wait(): function test_event_wait_cancel (line 21) | def test_event_wait_cancel(): function test_lock (line 39) | def test_lock(): function test_lock_cancel (line 61) | def test_lock_cancel(): function test_lock_race (line 83) | def test_lock_race(): function test_semaphore (line 113) | def test_semaphore(): function test_semaphore_cancel (line 134) | def test_semaphore_cancel(): function test_semaphore_race (line 156) | def test_semaphore_race(): function test_rlock (line 187) | def test_rlock(): function test_rlock_cancel (line 209) | def test_rlock_cancel(): function test_rlock_race (line 231) | def test_rlock_race(): function test_condition (line 263) | def test_condition(): function test_condition_cancel (line 285) | def test_condition_cancel(): function test_condition_race (line 307) | def test_condition_race(): function test_condition_wait_notify (line 337) | def test_condition_wait_notify(): FILE: thredo/core.py class Thread (line 11) | class Thread: method __init__ (line 12) | def __init__(self, atask): method cancel (line 15) | def cancel(self): method join (line 18) | def join(self): method wait (line 21) | def wait(self): class ThreadGroup (line 24) | class ThreadGroup: method __init__ (line 25) | def __init__(self, *args, **kwargs): method spawn (line 28) | def spawn(self, callable, *args, daemon=False): method cancel (line 33) | def cancel(self, *args, **kwargs): method cancel_remaining (line 36) | def cancel_remaining(self, *args, **kwargs): method join (line 39) | def join(self, *args, **kwargs): method next_result (line 42) | def next_result(self, *args, **kwargs): method next_done (line 45) | def next_done(self, *args, **kwargs): method __enter__ (line 48) | def __enter__(self): method __exit__ (line 52) | def __exit__(self, *args): method completed (line 56) | def completed(self): function run (line 59) | def run(callable, *args): function enable (line 69) | def enable(): function sleep (line 72) | def sleep(seconds): function spawn (line 75) | def spawn(callable, *args, daemon=False): function timeout_after (line 79) | def timeout_after(delay, callable=None, *args): function ignore_after (line 87) | def ignore_after(delay, callable=None, *args): FILE: thredo/io.py class Socket (line 26) | class Socket(object): method __init__ (line 31) | def __init__(self, sock): method __repr__ (line 40) | def __repr__(self): method __getattr__ (line 43) | def __getattr__(self, name): method fileno (line 46) | def fileno(self): method settimeout (line 49) | def settimeout(self, seconds): method gettimeout (line 53) | def gettimeout(self): method dup (line 56) | def dup(self): method makefile (line 59) | def makefile(self, mode, buffering=0, *, encoding=None, errors=None, n... method as_stream (line 65) | def as_stream(self): method recv (line 68) | def recv(self, maxsize, flags=0): method recv_into (line 77) | def recv_into(self, buffer, nbytes=0, flags=0): method send (line 86) | def send(self, data, flags=0): method sendall (line 95) | def sendall(self, data, flags=0): method accept (line 112) | def accept(self): method connect_ex (line 122) | def connect_ex(self, address): method connect (line 129) | def connect(self, address): method recvfrom (line 143) | def recvfrom(self, buffersize, flags=0): method recvfrom_into (line 152) | def recvfrom_into(self, buffer, bytes=0, flags=0): method sendto (line 161) | def sendto(self, bytes, flags_or_address, address=None): method recvmsg (line 175) | def recvmsg(self, bufsize, ancbufsize=0, flags=0): method recvmsg_into (line 182) | def recvmsg_into(self, buffers, ancbufsize=0, flags=0): method sendmsg (line 189) | def sendmsg(self, buffers, ancdata=(), flags=0, address=None): method do_handshake (line 197) | def do_handshake(self): method close (line 206) | def close(self): method shutdown (line 212) | def shutdown(self, how): method __enter__ (line 216) | def __enter__(self): method __exit__ (line 220) | def __exit__(self, *args): class StreamBase (line 227) | class StreamBase(object): method __init__ (line 232) | def __init__(self, fileobj): method __repr__ (line 237) | def __repr__(self): method fileno (line 240) | def fileno(self): method _read (line 244) | def _read(self, maxbytes=-1): method write (line 247) | def write(self, data): method read (line 251) | def read(self, maxbytes=-1): method readall (line 264) | def readall(self): method read_exactly (line 282) | def read_exactly(self, nbytes): method readinto (line 298) | def readinto(self, memory): method readline (line 333) | def readline(self, maxlen=None): method readlines (line 347) | def readlines(self): method writelines (line 357) | def writelines(self, lines): method flush (line 367) | def flush(self): method close (line 370) | def close(self): method __iter__ (line 377) | def __iter__(self): method __next__ (line 380) | def __next__(self): method __enter__ (line 387) | def __enter__(self): method __exit__ (line 390) | def __exit__(self, *args): class FileStream (line 394) | class FileStream(StreamBase): method __init__ (line 400) | def __init__(self, fileobj): method _read (line 410) | def _read(self, maxbytes=-1): method write (line 425) | def write(self, data): method flush (line 449) | def flush(self): class SocketStream (line 460) | class SocketStream(StreamBase): method __init__ (line 465) | def __init__(self, sock): method _read (line 474) | def _read(self, maxbytes=-1): method write (line 484) | def write(self, data): FILE: thredo/magic.py function more_magic (line 11) | def more_magic(): FILE: thredo/mixin.py class ThredoMixIn (line 8) | class ThredoMixIn: method server_activate (line 15) | def server_activate(self): method serve_forever (line 19) | def serve_forever(self): method handle_request (line 23) | def handle_request(self): method process_request_thread (line 34) | def process_request_thread(self, request, client_address): method process_request (line 42) | def process_request(self, request, client_address): method server_close (line 48) | def server_close(self): FILE: thredo/queue.py class Queue (line 12) | class Queue(object): method __init__ (line 13) | def __init__(self, maxsize=0): method empty (line 16) | def empty(self): method full (line 19) | def full(self): method get (line 22) | def get(self): method join (line 25) | def join(self): method put (line 28) | def put(self, item): method qsize (line 31) | def qsize(self): method task_done (line 34) | def task_done(self): method __iter__ (line 37) | def __iter__(self): method __next__ (line 40) | def __next__(self): FILE: thredo/requests.py class ThredoAdapter (line 19) | class ThredoAdapter(HTTPAdapter): method init_poolmanager (line 20) | def init_poolmanager(self, connections, maxsize, block): class ThredoPoolManager (line 26) | class ThredoPoolManager(PoolManager): method _new_pool (line 27) | def _new_pool(self, scheme, host, port): class ThredoHTTPConnectionPool (line 38) | class ThredoHTTPConnectionPool(HTTPConnectionPool): method _new_conn (line 39) | def _new_conn(self): class ThredoHTTPSConnectionPool (line 45) | class ThredoHTTPSConnectionPool(HTTPSConnectionPool): method _new_conn (line 46) | def _new_conn(self): class ThredoHTTPConnection (line 52) | class ThredoHTTPConnection(HTTPConnection): method connect (line 53) | def connect(self): class ThredoHTTPSConnection (line 62) | class ThredoHTTPSConnection(HTTPSConnection): method connect (line 63) | def connect(self): function get_session (line 76) | def get_session(): FILE: thredo/signal.py class SignalEvent (line 12) | class SignalEvent: method __init__ (line 13) | def __init__(self, *args, **kwargs): method __del__ (line 18) | def __del__(self): method wait (line 23) | def wait(self): method set (line 26) | def set(self): FILE: thredo/socket.py function socket (line 18) | def socket(*args, **kwargs): method __init__ (line 22) | def __init__(self, *args, **kwargs): class socket (line 21) | class socket(io.Socket): method __init__ (line 22) | def __init__(self, *args, **kwargs): function socketpair (line 30) | def socketpair(*args, **kwargs): function fromfd (line 35) | def fromfd(*args, **kwargs): function create_connection (line 41) | def create_connection(*args, **kwargs): FILE: thredo/sync.py class Event (line 12) | class Event(object): method __init__ (line 13) | def __init__(self): method is_set (line 16) | def is_set(self): method clear (line 19) | def clear(self): method wait (line 22) | def wait(self): method set (line 25) | def set(self): class _LockBase (line 30) | class _LockBase(object): method __enter__ (line 31) | def __enter__(self): method __exit__ (line 34) | def __exit__(self, *args): method acquire (line 37) | def acquire(self): method release (line 40) | def release(self): method locked (line 43) | def locked(self): class Lock (line 46) | class Lock(_LockBase): method __init__ (line 47) | def __init__(self): class RLock (line 50) | class RLock(_LockBase): method __init__ (line 51) | def __init__(self): class Semaphore (line 54) | class Semaphore(_LockBase): method __init__ (line 55) | def __init__(self): method value (line 59) | def value(self): class BoundedSemaphore (line 62) | class BoundedSemaphore(Semaphore): method __init__ (line 63) | def __init__(self): class Condition (line 66) | class Condition(_LockBase): method __init__ (line 67) | def __init__(self, lock=None): method locked (line 73) | def locked(self): method wait (line 76) | def wait(self): method wait_for (line 79) | def wait_for(self, predicate): method notify (line 82) | def notify(self, n=1): method notify_all (line 85) | def notify_all(self): FILE: thredo/thr.py function TAWAIT (line 11) | def TAWAIT(coro, *args, **kwargs): function thread_atexit (line 20) | def thread_atexit(callable): function enable_async (line 23) | def enable_async(): function thread_handler (line 45) | async def thread_handler():