SYMBOL INDEX (609 symbols across 33 files) FILE: .github/release_log.py function main (line 13) | def main(): FILE: examples/bench/echoclient.py function run_test (line 57) | def run_test(n): FILE: examples/bench/echoserver.py function echo_server (line 13) | async def echo_server(loop, address, unix): function echo_client (line 32) | async def echo_client(loop, client): function echo_client_streams (line 48) | async def echo_client_streams(reader, writer): class EchoProtocol (line 66) | class EchoProtocol(asyncio.Protocol): method connection_made (line 67) | def connection_made(self, transport): method connection_lost (line 70) | def connection_lost(self, exc): method data_received (line 73) | def data_received(self, data): class EchoBufferedProtocol (line 77) | class EchoBufferedProtocol(asyncio.BufferedProtocol): method connection_made (line 78) | def connection_made(self, transport): method connection_lost (line 84) | def connection_lost(self, exc): method get_buffer (line 87) | def get_buffer(self, sizehint): method buffer_updated (line 90) | def buffer_updated(self, nbytes): function print_debug (line 94) | async def print_debug(loop): FILE: examples/bench/rlserver.py function echo_client_streams (line 11) | async def echo_client_streams(reader, writer): function print_debug (line 30) | async def print_debug(loop): FILE: setup.py function _libuv_build_env (line 32) | def _libuv_build_env(): function _libuv_autogen (line 44) | def _libuv_autogen(env): class uvloop_sdist (line 58) | class uvloop_sdist(sdist): method run (line 59) | def run(self): class uvloop_build_ext (line 66) | class uvloop_build_ext(build_ext): method initialize_options (line 84) | def initialize_options(self): method finalize_options (line 91) | def finalize_options(self): method build_libuv (line 154) | def build_libuv(self): method build_extensions (line 192) | def build_extensions(self): FILE: tests/__main__.py function suite (line 7) | def suite(): FILE: tests/test_aiohttp.py class _TestAioHTTP (line 17) | class _TestAioHTTP: method test_aiohttp_basic_1 (line 19) | def test_aiohttp_basic_1(self): method test_aiohttp_graceful_shutdown (line 51) | def test_aiohttp_graceful_shutdown(self): class Test_UV_AioHTTP (line 120) | class Test_UV_AioHTTP(_TestAioHTTP, tb.UVTestCase): class Test_AIO_AioHTTP (line 125) | class Test_AIO_AioHTTP(_TestAioHTTP, tb.AIOTestCase): FILE: tests/test_base.py class _TestBase (line 18) | class _TestBase: method test_close (line 20) | def test_close(self): method test_handle_weakref (line 36) | def test_handle_weakref(self): method test_call_soon_1 (line 41) | def test_call_soon_1(self): method test_call_soon_2 (line 61) | def test_call_soon_2(self): method test_call_soon_3 (line 69) | def test_call_soon_3(self): method test_call_soon_base_exc (line 77) | def test_call_soon_base_exc(self): method test_calls_debug_reporting (line 88) | def test_calls_debug_reporting(self): method test_now_update (line 128) | def test_now_update(self): method test_call_later_1 (line 137) | def test_call_later_1(self): method test_call_later_2 (line 167) | def test_call_later_2(self): method test_call_later_3 (line 181) | def test_call_later_3(self): method test_call_later_4 (line 190) | def test_call_later_4(self): method test_call_later_negative (line 199) | def test_call_later_negative(self): method test_call_later_rounding (line 210) | def test_call_later_rounding(self): method test_call_at (line 223) | def test_call_at(self): method test_check_thread (line 250) | def test_check_thread(self): method test_run_once_in_executor_plain (line 313) | def test_run_once_in_executor_plain(self): method test_set_debug (line 326) | def test_set_debug(self): method test_run_until_complete_type_error (line 332) | def test_run_until_complete_type_error(self): method test_run_until_complete_loop (line 336) | def test_run_until_complete_loop(self): method test_run_until_complete_error (line 343) | def test_run_until_complete_error(self): method test_run_until_complete_loop_orphan_future_close_loop (line 349) | def test_run_until_complete_loop_orphan_future_close_loop(self): method test_run_until_complete_keyboard_interrupt (line 366) | def test_run_until_complete_keyboard_interrupt(self): method test_debug_slow_callbacks (line 386) | def test_debug_slow_callbacks(self): method test_debug_slow_timer_callbacks (line 402) | def test_debug_slow_timer_callbacks(self): method test_debug_slow_task_callbacks (line 418) | def test_debug_slow_task_callbacks(self): method test_default_exc_handler_callback (line 436) | def test_default_exc_handler_callback(self): method test_set_exc_handler_custom (line 467) | def test_set_exc_handler_custom(self): method test_set_exc_handler_broken (line 503) | def test_set_exc_handler_broken(self): method test_set_task_factory_invalid (line 526) | def test_set_task_factory_invalid(self): method test_set_task_factory (line 535) | def test_set_task_factory(self): method test_set_task_name (line 564) | def test_set_task_name(self): method test_shutdown_asyncgens_01 (line 607) | def test_shutdown_asyncgens_01(self): method test_shutdown_asyncgens_02 (line 641) | def test_shutdown_asyncgens_02(self): method test_shutdown_asyncgens_03 (line 677) | def test_shutdown_asyncgens_03(self): method test_inf_wait_for (line 693) | def test_inf_wait_for(self): method test_shutdown_default_executor (line 701) | def test_shutdown_default_executor(self): method test_call_soon_threadsafe_safety (line 712) | def test_call_soon_threadsafe_safety(self): method test_freethreading (line 739) | def test_freethreading(self): class TestBaseUV (line 803) | class TestBaseUV(_TestBase, UVTestCase): method test_loop_create_future (line 805) | def test_loop_create_future(self): method test_loop_call_soon_handle_cancelled (line 811) | def test_loop_call_soon_handle_cancelled(self): method test_loop_call_later_handle_cancelled (line 823) | def test_loop_call_later_handle_cancelled(self): method test_loop_std_files_cloexec (line 835) | def test_loop_std_files_cloexec(self): method test_default_exc_handler_broken (line 841) | def test_default_exc_handler_broken(self): method test_big_call_later_timeout (line 893) | def test_big_call_later_timeout(self): method test_loop_call_later_handle_when (line 924) | def test_loop_call_later_handle_when(self): method test_loop_call_later_handle_when_after_fired (line 934) | def test_loop_call_later_handle_when_after_fired(self): class TestBaseAIO (line 942) | class TestBaseAIO(_TestBase, AIOTestCase): class TestPolicy (line 946) | class TestPolicy(unittest.TestCase): method test_uvloop_policy (line 948) | def test_uvloop_policy(self): method test_running_loop_within_a_loop (line 961) | def test_running_loop_within_a_loop(self): method test_get_event_loop_returns_running_loop (line 984) | def test_get_event_loop_returns_running_loop(self): FILE: tests/test_context.py class _BaseProtocol (line 16) | class _BaseProtocol(asyncio.BaseProtocol): method __init__ (line 17) | def __init__(self, cvar, *, loop=None): method connection_made (line 33) | def connection_made(self, transport): method connection_lost (line 37) | def connection_lost(self, exc): method eof_received (line 44) | def eof_received(self): method pause_writing (line 47) | def pause_writing(self): method resume_writing (line 50) | def resume_writing(self): class _Protocol (line 54) | class _Protocol(_BaseProtocol, asyncio.Protocol): method data_received (line 55) | def data_received(self, data): class _BufferedProtocol (line 59) | class _BufferedProtocol(_BaseProtocol, asyncio.BufferedProtocol): method get_buffer (line 60) | def get_buffer(self, sizehint): method buffer_updated (line 69) | def buffer_updated(self, nbytes): class _DatagramProtocol (line 81) | class _DatagramProtocol(_BaseProtocol, asyncio.DatagramProtocol): method datagram_received (line 82) | def datagram_received(self, data, addr): method error_received (line 85) | def error_received(self, exc): class _SubprocessProtocol (line 89) | class _SubprocessProtocol(_BaseProtocol, asyncio.SubprocessProtocol): method pipe_data_received (line 90) | def pipe_data_received(self, fd, data): method pipe_connection_lost (line 93) | def pipe_connection_lost(self, fd, exc): method process_exited (line 104) | def process_exited(self): class _SSLSocketOverSSL (line 108) | class _SSLSocketOverSSL: method __init__ (line 112) | def __init__(self, ssl_sock, ctx, **kwargs): method do (line 120) | def do(self, func, *args): method send (line 133) | def send(self, data): method unwrap (line 136) | def unwrap(self): method close (line 139) | def close(self): class _ContextBaseTests (line 144) | class _ContextBaseTests(tb.SSLTestCase): method test_task_decimal_context (line 149) | def test_task_decimal_context(self): method test_task_context_1 (line 172) | def test_task_context_1(self): method test_task_context_2 (line 191) | def test_task_context_2(self): method test_task_context_3 (line 221) | def test_task_context_3(self): method test_task_context_4 (line 244) | def test_task_context_4(self): method _run_test (line 266) | def _run_test(self, method, **switches): method _run_server_test (line 314) | def _run_server_test(self, method, async_sock=False, **switches): method test_create_server_protocol_factory_context (line 344) | def test_create_server_protocol_factory_context(self): method test_create_server_connection_protocol (line 376) | def test_create_server_connection_protocol(self): method test_create_ssl_server_connection_protocol (line 395) | def test_create_ssl_server_connection_protocol(self): method test_create_server_manual_connection_lost (line 435) | def test_create_server_manual_connection_lost(self): method test_create_ssl_server_manual_connection_lost (line 454) | def test_create_ssl_server_manual_connection_lost(self): method test_create_connection_protocol (line 493) | def test_create_connection_protocol(self): method test_start_tls (line 579) | def test_start_tls(self): method test_connect_accepted_socket (line 640) | def test_connect_accepted_socket(self): method test_subprocess_protocol (line 684) | def test_subprocess_protocol(self): method test_datagram_protocol (line 723) | def test_datagram_protocol(self): class Test_UV_Context (line 763) | class Test_UV_Context(_ContextBaseTests, tb.UVTestCase): class Test_AIO_Context (line 767) | class Test_AIO_Context(_ContextBaseTests, tb.AIOTestCase): FILE: tests/test_cython.py class TestCythonIntegration (line 6) | class TestCythonIntegration(UVTestCase): method test_cython_coro_is_coroutine (line 8) | def test_cython_coro_is_coroutine(self): FILE: tests/test_dealloc.py class TestDealloc (line 8) | class TestDealloc(tb.UVTestCase): method test_dealloc_1 (line 10) | def test_dealloc_1(self): FILE: tests/test_dns.py function patched_getaddrinfo (line 8) | def patched_getaddrinfo(*args, **kwargs): class BaseTestDNS (line 27) | class BaseTestDNS: method _test_getaddrinfo (line 29) | def _test_getaddrinfo(self, *args, _patch=False, _sorted=False, **kwar... method _test_getnameinfo (line 68) | def _test_getnameinfo(self, *args, **kwargs): method test_getaddrinfo_1 (line 92) | def test_getaddrinfo_1(self): method test_getaddrinfo_2 (line 97) | def test_getaddrinfo_2(self): method test_getaddrinfo_3 (line 101) | def test_getaddrinfo_3(self): method test_getaddrinfo_4 (line 104) | def test_getaddrinfo_4(self): method test_getaddrinfo_5 (line 109) | def test_getaddrinfo_5(self): method test_getaddrinfo_6 (line 114) | def test_getaddrinfo_6(self): method test_getaddrinfo_7 (line 119) | def test_getaddrinfo_7(self): method test_getaddrinfo_8 (line 123) | def test_getaddrinfo_8(self): method test_getaddrinfo_9 (line 127) | def test_getaddrinfo_9(self): method test_getaddrinfo_10 (line 131) | def test_getaddrinfo_10(self): method test_getaddrinfo_11 (line 135) | def test_getaddrinfo_11(self): method test_getaddrinfo_12 (line 140) | def test_getaddrinfo_12(self): method test_getaddrinfo_13 (line 148) | def test_getaddrinfo_13(self): method test_getaddrinfo_14 (line 156) | def test_getaddrinfo_14(self): method test_getaddrinfo_15 (line 164) | def test_getaddrinfo_15(self): method test_getaddrinfo_16 (line 172) | def test_getaddrinfo_16(self): method test_getaddrinfo_17 (line 176) | def test_getaddrinfo_17(self): method test_getaddrinfo_18 (line 180) | def test_getaddrinfo_18(self): method test_getaddrinfo_19 (line 184) | def test_getaddrinfo_19(self): method test_getaddrinfo_20 (line 196) | def test_getaddrinfo_20(self): method test_getaddrinfo_21 (line 210) | def test_getaddrinfo_21(self): method test_getaddrinfo_22 (line 215) | def test_getaddrinfo_22(self): method test_getaddrinfo_broadcast (line 220) | def test_getaddrinfo_broadcast(self): method test_getnameinfo_1 (line 226) | def test_getnameinfo_1(self): method test_getnameinfo_2 (line 229) | def test_getnameinfo_2(self): method test_getnameinfo_3 (line 232) | def test_getnameinfo_3(self): method test_getnameinfo_4 (line 235) | def test_getnameinfo_4(self): method test_getnameinfo_5 (line 238) | def test_getnameinfo_5(self): class Test_UV_DNS (line 242) | class Test_UV_DNS(BaseTestDNS, tb.UVTestCase): method test_getaddrinfo_close_loop (line 244) | def test_getaddrinfo_close_loop(self): class Test_AIO_DNS (line 267) | class Test_AIO_DNS(BaseTestDNS, tb.AIOTestCase): FILE: tests/test_executors.py function fib (line 9) | def fib(n): class _TestExecutors (line 15) | class _TestExecutors: method run_pool_test (line 17) | def run_pool_test(self, pool_factory): method test_executors_process_pool_01 (line 34) | def test_executors_process_pool_01(self): method test_executors_process_pool_02 (line 37) | def test_executors_process_pool_02(self): class TestUVExecutors (line 41) | class TestUVExecutors(_TestExecutors, tb.UVTestCase): class TestAIOExecutors (line 45) | class TestAIOExecutors(_TestExecutors, tb.AIOTestCase): FILE: tests/test_fs_event.py class Test_UV_FS_Event (line 10) | class Test_UV_FS_Event(tb.UVTestCase): method setUp (line 11) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_fs_event_change (line 22) | def test_fs_event_change(self): method test_fs_event_rename (line 59) | def test_fs_event_rename(self): FILE: tests/test_libuv_api.py class Test_UV_libuv (line 6) | class Test_UV_libuv(tb.UVTestCase): method test_libuv_get_loop_t_ptr (line 7) | def test_libuv_get_loop_t_ptr(self): method test_libuv_get_version (line 22) | def test_libuv_get_version(self): FILE: tests/test_pipes.py class MyReadPipeProto (line 12) | class MyReadPipeProto(asyncio.Protocol): method __init__ (line 15) | def __init__(self, loop=None): method connection_made (line 22) | def connection_made(self, transport): method data_received (line 27) | def data_received(self, data): method eof_received (line 31) | def eof_received(self): method connection_lost (line 35) | def connection_lost(self, exc): class MyWritePipeProto (line 44) | class MyWritePipeProto(asyncio.BaseProtocol): method __init__ (line 48) | def __init__(self, loop=None): method connection_made (line 54) | def connection_made(self, transport): method connection_lost (line 59) | def connection_lost(self, exc): method pause_writing (line 65) | def pause_writing(self): method resume_writing (line 68) | def resume_writing(self): class _BasePipeTest (line 72) | class _BasePipeTest: method test_read_pipe (line 73) | def test_read_pipe(self): method test_read_pty_output (line 105) | def test_read_pty_output(self): method test_write_pipe (line 142) | def test_write_pipe(self): method test_write_pipe_disconnect_on_close (line 184) | def test_write_pipe_disconnect_on_close(self): method test_write_pty (line 206) | def test_write_pty(self): method test_write_buffer_full (line 251) | def test_write_buffer_full(self): class Test_UV_Pipes (line 275) | class Test_UV_Pipes(_BasePipeTest, tb.UVTestCase): class Test_AIO_Pipes (line 279) | class Test_AIO_Pipes(_BasePipeTest, tb.AIOTestCase): FILE: tests/test_process.py class _RedirectFD (line 19) | class _RedirectFD(contextlib.AbstractContextManager): method __init__ (line 20) | def __init__(self, old_file, new_file): method __enter__ (line 25) | def __enter__(self): method __exit__ (line 28) | def __exit__(self, exc_type, exc_val, exc_tb): class _TestProcess (line 33) | class _TestProcess: method get_num_fds (line 34) | def get_num_fds(self): method test_process_env_1 (line 37) | def test_process_env_1(self): method test_process_env_2 (line 53) | def test_process_env_2(self): method test_process_cwd_1 (line 69) | def test_process_cwd_1(self): method test_process_cwd_2 (line 88) | def test_process_cwd_2(self): method test_process_preexec_fn_1 (line 106) | def test_process_preexec_fn_1(self): method test_process_preexec_fn_2 (line 126) | def test_process_preexec_fn_2(self): method test_process_executable_1 (line 157) | def test_process_executable_1(self): method test_process_executable_2 (line 169) | def test_process_executable_2(self): method test_process_pid_1 (line 181) | def test_process_pid_1(self): method test_process_send_signal_1 (line 202) | def test_process_send_signal_1(self): method test_process_streams_basic_1 (line 242) | def test_process_streams_basic_1(self): method test_process_streams_stderr_to_stdout (line 293) | def test_process_streams_stderr_to_stdout(self): method test_process_streams_devnull (line 312) | def test_process_streams_devnull(self): method test_process_streams_pass_fds (line 332) | def test_process_streams_pass_fds(self): method test_subprocess_fd_leak_1 (line 369) | def test_subprocess_fd_leak_1(self): method test_subprocess_fd_leak_2 (line 388) | def test_subprocess_fd_leak_2(self): method test_subprocess_invalid_stdin (line 407) | def test_subprocess_invalid_stdin(self): method test_process_streams_redirect (line 438) | def test_process_streams_redirect(self): class _AsyncioTests (line 469) | class _AsyncioTests: method test_stdin_not_inheritable (line 486) | def test_stdin_not_inheritable(self): method test_stdin_stdout_pipe (line 505) | def test_stdin_stdout_pipe(self): method test_stdin_stdout_file (line 530) | def test_stdin_stdout_file(self): method test_stdin_stderr_file (line 556) | def test_stdin_stderr_file(self): method test_communicate (line 577) | def test_communicate(self): method test_start_new_session (line 594) | def test_start_new_session(self): method test_shell (line 602) | def test_shell(self): method test_kill (line 608) | def test_kill(self): method test_terminate (line 616) | def test_terminate(self): method test_send_signal (line 624) | def test_send_signal(self): method test_cancel_process_wait (line 643) | def test_cancel_process_wait(self): method test_cancel_make_subprocess_transport_exec (line 667) | def test_cancel_make_subprocess_transport_exec(self): method test_cancel_post_init (line 687) | def test_cancel_post_init(self): method test_close_gets_process_closed (line 715) | def test_close_gets_process_closed(self): method test_communicate_large_stdout_65536 (line 740) | def test_communicate_large_stdout_65536(self): method test_communicate_large_stdout_65537 (line 743) | def test_communicate_large_stdout_65537(self): method test_communicate_large_stdout_1000000 (line 746) | def test_communicate_large_stdout_1000000(self): method _test_communicate_large_stdout (line 749) | def _test_communicate_large_stdout(self, size): method test_write_huge_stdin_8192 (line 768) | def test_write_huge_stdin_8192(self): method test_write_huge_stdin_8193 (line 771) | def test_write_huge_stdin_8193(self): method test_write_huge_stdin_219263 (line 774) | def test_write_huge_stdin_219263(self): method test_write_huge_stdin_219264 (line 777) | def test_write_huge_stdin_219264(self): method _test_write_huge_stdin (line 780) | def _test_write_huge_stdin(self, buf_size): class Test_UV_Process (line 818) | class Test_UV_Process(_TestProcess, tb.UVTestCase): method test_process_double_close (line 819) | def test_process_double_close(self): class Test_AIO_Process (line 872) | class Test_AIO_Process(_TestProcess, tb.AIOTestCase): class TestAsyncio_UV_Process (line 876) | class TestAsyncio_UV_Process(_AsyncioTests, tb.UVTestCase): class TestAsyncio_AIO_Process (line 880) | class TestAsyncio_AIO_Process(_AsyncioTests, tb.AIOTestCase): class Test_UV_Process_Delayed (line 884) | class Test_UV_Process_Delayed(tb.UVTestCase): class TestProto (line 886) | class TestProto: method __init__ (line 887) | def __init__(self): method connection_made (line 891) | def connection_made(self, transport): method pipe_data_received (line 894) | def pipe_data_received(self, fd, data): method pipe_connection_lost (line 898) | def pipe_connection_lost(self, fd, exc): method process_exited (line 902) | def process_exited(self): method connection_lost (line 905) | def connection_lost(self, exc): method run_sub (line 909) | async def run_sub(self, **kwargs): method test_process_delayed_stdio__paused__stdin_pipe (line 915) | def test_process_delayed_stdio__paused__stdin_pipe(self): method test_process_delayed_stdio__paused__no_stdin (line 934) | def test_process_delayed_stdio__paused__no_stdin(self): method test_process_delayed_stdio__not_paused__no_stdin (line 953) | def test_process_delayed_stdio__not_paused__no_stdin(self): FILE: tests/test_process_spawning.py class ProcessSpawningTestCollection (line 11) | class ProcessSpawningTestCollection(TestCase): method test_spawning_external_process (line 13) | def test_spawning_external_process(self): FILE: tests/test_regr1.py class EchoServerProtocol (line 13) | class EchoServerProtocol(asyncio.Protocol): method connection_made (line 15) | def connection_made(self, transport): class EchoClientProtocol (line 19) | class EchoClientProtocol(asyncio.Protocol): method __init__ (line 21) | def __init__(self, loop): method connection_made (line 24) | def connection_made(self, transport): method data_received (line 27) | def data_received(self, data): method connection_lost (line 30) | def connection_lost(self, exc): class FailedTestError (line 34) | class FailedTestError(BaseException): function run_server (line 38) | def run_server(quin, qout): class TestIssue39Regr (line 66) | class TestIssue39Regr(tb.UVTestCase): method on_alarm (line 72) | def on_alarm(self, sig, fr): method run_test (line 76) | def run_test(self): method test_issue39_regression (line 108) | def test_issue39_regression(self): FILE: tests/test_runner.py class TestSourceCode (line 6) | class TestSourceCode(unittest.TestCase): method test_uvloop_run_1 (line 8) | def test_uvloop_run_1(self): method test_uvloop_run_2 (line 27) | def test_uvloop_run_2(self): FILE: tests/test_signals.py class _TestSignal (line 12) | class _TestSignal: method test_signals_sigint_pycode_stop (line 16) | def test_signals_sigint_pycode_stop(self): method test_signals_sigint_pycode_continue (line 56) | def test_signals_sigint_pycode_continue(self): method test_signals_sigint_uvcode (line 101) | def test_signals_sigint_uvcode(self): method test_signals_sigint_uvcode_two_loop_runs (line 140) | def test_signals_sigint_uvcode_two_loop_runs(self): method test_signals_sigint_and_custom_handler (line 179) | def test_signals_sigint_and_custom_handler(self): method test_signals_and_custom_handler_1 (line 232) | def test_signals_and_custom_handler_1(self): method test_signals_invalid_signal (line 298) | def test_signals_invalid_signal(self): method test_signals_coro_callback (line 305) | def test_signals_coro_callback(self): method test_signals_wakeup_fd_unchanged (line 311) | def test_signals_wakeup_fd_unchanged(self): method test_signals_fork_in_thread (line 350) | def test_signals_fork_in_thread(self): class Test_UV_Signals (line 387) | class Test_UV_Signals(_TestSignal, tb.UVTestCase): method test_signals_no_SIGCHLD (line 390) | def test_signals_no_SIGCHLD(self): class Test_AIO_Signals (line 397) | class Test_AIO_Signals(_TestSignal, tb.AIOTestCase): FILE: tests/test_sockets.py class _TestSockets (line 15) | class _TestSockets: method recv_all (line 17) | async def recv_all(self, sock, nbytes): method test_socket_accept_recv_send (line 23) | def test_socket_accept_recv_send(self): method test_socket_failed_connect (line 51) | def test_socket_failed_connect(self): method test_socket_ipv6_addr (line 67) | def test_socket_ipv6_addr(self): method test_socket_ipv4_nameaddr (line 89) | def test_socket_ipv4_nameaddr(self): method test_socket_blocking_error (line 105) | def test_socket_blocking_error(self): method test_socket_fileno (line 126) | def test_socket_fileno(self): method test_socket_sync_remove_and_immediately_close (line 145) | def test_socket_sync_remove_and_immediately_close(self): method test_sock_cancel_add_reader_race (line 162) | def test_sock_cancel_add_reader_race(self): method test_sock_send_before_cancel (line 218) | def test_sock_send_before_cancel(self): class TestUVSockets (line 268) | class TestUVSockets(_TestSockets, tb.UVTestCase): method test_socket_sync_remove (line 271) | def test_socket_sync_remove(self): method test_add_reader_or_writer_transport_fd (line 294) | def test_add_reader_or_writer_transport_fd(self): method test_pseudosocket (line 338) | def test_pseudosocket(self): method test_socket_connect_and_close (line 413) | def test_socket_connect_and_close(self): method test_socket_recv_and_close (line 432) | def test_socket_recv_and_close(self): method test_socket_recv_into_and_close (line 461) | def test_socket_recv_into_and_close(self): method test_socket_send_and_close (line 493) | def test_socket_send_and_close(self): method test_socket_close_loop_and_close (line 525) | def test_socket_close_loop_and_close(self): method test_socket_close_remove_reader (line 563) | def test_socket_close_remove_reader(self): method test_socket_close_remove_writer (line 581) | def test_socket_close_remove_writer(self): method test_socket_cancel_sock_recv_1 (line 599) | def test_socket_cancel_sock_recv_1(self): method test_socket_cancel_sock_recv_2 (line 628) | def test_socket_cancel_sock_recv_2(self): method test_socket_cancel_sock_sendall (line 668) | def test_socket_cancel_sock_sendall(self): method test_socket_close_many_add_readers (line 701) | def test_socket_close_many_add_readers(self): method test_socket_close_many_remove_writers (line 722) | def test_socket_close_many_remove_writers(self): class TestAIOSockets (line 744) | class TestAIOSockets(_TestSockets, tb.AIOTestCase): FILE: tests/test_sourcecode.py function find_uvloop_root (line 7) | def find_uvloop_root(): class TestSourceCode (line 11) | class TestSourceCode(unittest.TestCase): method test_flake8 (line 13) | def test_flake8(self): method test_mypy (line 40) | def test_mypy(self): FILE: tests/test_tcp.py class MyBaseProto (line 21) | class MyBaseProto(asyncio.Protocol): method __init__ (line 25) | def __init__(self, loop=None): method connection_made (line 33) | def connection_made(self, transport): method data_received (line 40) | def data_received(self, data): method eof_received (line 44) | def eof_received(self): method connection_lost (line 48) | def connection_lost(self, exc): class _TestTCP (line 55) | class _TestTCP: method test_create_server_1 (line 56) | def test_create_server_1(self): method test_create_server_2 (line 201) | def test_create_server_2(self): method test_create_server_3 (line 205) | def test_create_server_3(self): method test_create_server_4 (line 243) | def test_create_server_4(self): method test_create_server_5 (line 258) | def test_create_server_5(self): method test_create_server_6 (line 275) | def test_create_server_6(self): method test_create_server_7 (line 301) | def test_create_server_7(self): method test_create_server_8 (line 345) | def test_create_server_8(self): method test_create_server_9 (line 353) | def test_create_server_9(self): method test_create_server_10 (line 377) | def test_create_server_10(self): method test_create_connection_open_con_addr (line 400) | def test_create_connection_open_con_addr(self): method test_create_connection_open_con_sock (line 427) | def test_create_connection_open_con_sock(self): method _test_create_connection_1 (line 450) | def _test_create_connection_1(self, client): method test_create_connection_2 (line 485) | def test_create_connection_2(self): method test_create_connection_3 (line 502) | def test_create_connection_3(self): method test_create_connection_4 (line 542) | def test_create_connection_4(self): method test_create_connection_5 (line 557) | def test_create_connection_5(self): method test_create_connection_6 (line 579) | def test_create_connection_6(self): method test_transport_shutdown (line 587) | def test_transport_shutdown(self): method test_tcp_handle_exception_in_connection_made (line 643) | def test_tcp_handle_exception_in_connection_made(self): method test_resume_writing_write_different_transport (line 687) | def test_resume_writing_write_different_transport(self): class Test_UV_TCP (line 741) | class Test_UV_TCP(_TestTCP, tb.UVTestCase): method test_create_server_buffered_1 (line 743) | def test_create_server_buffered_1(self): method test_create_server_buffered_2 (line 790) | def test_create_server_buffered_2(self): method test_transport_get_extra_info (line 900) | def test_transport_get_extra_info(self): method test_create_server_float_backlog (line 995) | def test_create_server_float_backlog(self): method test_many_small_writes (line 1008) | def test_many_small_writes(self): method test_tcp_handle_abort_in_connection_made (line 1069) | def test_tcp_handle_abort_in_connection_made(self): method test_connect_accepted_socket_ssl_args (line 1102) | def test_connect_accepted_socket_ssl_args(self): method test_connect_accepted_socket (line 1114) | def test_connect_accepted_socket(self, server_ssl=None, client_ssl=None): method test_create_connection_wrong_sock (line 1185) | def test_create_connection_wrong_sock(self): method test_create_server_wrong_sock (line 1194) | def test_create_server_wrong_sock(self): method test_create_server_stream_bittype (line 1204) | def test_create_server_stream_bittype(self): method test_flowcontrol_mixin_set_write_limits (line 1213) | def test_flowcontrol_mixin_set_write_limits(self): class Test_AIO_TCP (line 1249) | class Test_AIO_TCP(_TestTCP, tb.AIOTestCase): class _TestSSL (line 1253) | class _TestSSL(tb.SSLTestCase): method test_create_server_ssl_1 (line 1261) | def test_create_server_ssl_1(self): method test_create_connection_ssl_1 (line 1353) | def test_create_connection_ssl_1(self): method test_create_connection_ssl_slow_handshake (line 1445) | def test_create_connection_ssl_slow_handshake(self): method test_create_connection_ssl_failed_certificate (line 1481) | def test_create_connection_ssl_failed_certificate(self): method test_start_tls_wrong_args (line 1518) | def test_start_tls_wrong_args(self): method test_ssl_handshake_timeout (line 1533) | def test_ssl_handshake_timeout(self): method test_ssl_handshake_connection_lost (line 1581) | def test_ssl_handshake_connection_lost(self): method test_ssl_connect_accepted_socket (line 1630) | def test_ssl_connect_accepted_socket(self): method test_start_tls_client_corrupted_ssl (line 1654) | def test_start_tls_client_corrupted_ssl(self): method test_start_tls_client_reg_proto_1 (line 1703) | def test_start_tls_client_reg_proto_1(self): method test_create_connection_memory_leak (line 1767) | def test_create_connection_memory_leak(self): method test_start_tls_client_buf_proto_1 (line 1833) | def test_start_tls_client_buf_proto_1(self): method test_start_tls_slow_client_cancel (line 1932) | def test_start_tls_slow_client_cancel(self): method test_start_tls_server_1 (line 1995) | def test_start_tls_server_1(self): method test_create_server_ssl_over_ssl (line 2077) | def test_create_server_ssl_over_ssl(self): method test_renegotiation (line 2223) | def test_renegotiation(self): method test_shutdown_timeout (line 2342) | def test_shutdown_timeout(self): method test_shutdown_cleanly (line 2440) | def test_shutdown_cleanly(self): method test_write_to_closed_transport (line 2504) | def test_write_to_closed_transport(self): method test_flush_before_shutdown (line 2583) | def test_flush_before_shutdown(self): method test_remote_shutdown_receives_trailing_data (line 2650) | def test_remote_shutdown_receives_trailing_data(self): method test_connect_timeout_warning (line 2784) | def test_connect_timeout_warning(self): method test_handshake_timeout_handler_leak (line 2812) | def test_handshake_timeout_handler_leak(self): method test_shutdown_timeout_handler_leak (line 2841) | def test_shutdown_timeout_handler_leak(self): method test_shutdown_timeout_handler_not_set (line 2879) | def test_shutdown_timeout_handler_not_set(self): method test_shutdown_while_pause_reading (line 2937) | def test_shutdown_while_pause_reading(self): method test_bpo_39951_discard_trailing_data (line 3019) | def test_bpo_39951_discard_trailing_data(self): method test_first_data_after_wakeup (line 3101) | def test_first_data_after_wakeup(self): class Test_UV_TCPSSL (line 3193) | class Test_UV_TCPSSL(_TestSSL, tb.UVTestCase): class Test_AIO_TCPSSL (line 3197) | class Test_AIO_TCPSSL(_TestSSL, tb.AIOTestCase): FILE: tests/test_testbase.py class TestBaseTest (line 6) | class TestBaseTest(unittest.TestCase): method test_duplicate_methods (line 8) | def test_duplicate_methods(self): method test_duplicate_methods_parent_1 (line 21) | def test_duplicate_methods_parent_1(self): method test_duplicate_methods_parent_2 (line 37) | def test_duplicate_methods_parent_2(self): FILE: tests/test_udp.py class MyDatagramProto (line 12) | class MyDatagramProto(asyncio.DatagramProtocol): method __init__ (line 15) | def __init__(self, loop=None): method connection_made (line 21) | def connection_made(self, transport): method datagram_received (line 26) | def datagram_received(self, data, addr): method error_received (line 30) | def error_received(self, exc): method connection_lost (line 34) | def connection_lost(self, exc): class _TestUDP (line 41) | class _TestUDP: method _test_create_datagram_endpoint_addrs (line 43) | def _test_create_datagram_endpoint_addrs(self, family, lc_addr): method test_create_datagram_endpoint_addrs_ipv4 (line 129) | def test_create_datagram_endpoint_addrs_ipv4(self): method test_create_datagram_endpoint_addrs_ipv4_nameaddr (line 133) | def test_create_datagram_endpoint_addrs_ipv4_nameaddr(self): method _test_create_datagram_endpoint_addrs_ipv6 (line 137) | def _test_create_datagram_endpoint_addrs_ipv6(self): method test_create_datagram_endpoint_ipv6_family (line 141) | def test_create_datagram_endpoint_ipv6_family(self): method test_create_datagram_endpoint_sock (line 162) | def test_create_datagram_endpoint_sock(self): method test_create_datagram_endpoint_sock_unix_domain (line 188) | def test_create_datagram_endpoint_sock_unix_domain(self): method test_create_datagram_1 (line 254) | def test_create_datagram_1(self): method test_socketpair (line 278) | def test_socketpair(self): method _skip_create_datagram_endpoint_reuse_addr (line 316) | def _skip_create_datagram_endpoint_reuse_addr(self): method test_create_datagram_endpoint_reuse_address_error (line 323) | def test_create_datagram_endpoint_reuse_address_error(self): method test_create_datagram_endpoint_reuse_address_warning (line 337) | def test_create_datagram_endpoint_reuse_address_warning(self): class Test_UV_UDP (line 354) | class Test_UV_UDP(_TestUDP, tb.UVTestCase): method test_create_datagram_endpoint_wrong_sock (line 356) | def test_create_datagram_endpoint_wrong_sock(self): method test_udp_sendto_dns (line 364) | def test_udp_sendto_dns(self): method test_udp_sendto_broadcast (line 381) | def test_udp_sendto_broadcast(self): method test_send_after_close (line 397) | def test_send_after_close(self): method test_create_datagram_endpoint_addrs_ipv6 (line 411) | def test_create_datagram_endpoint_addrs_ipv6(self): class Test_AIO_UDP (line 415) | class Test_AIO_UDP(_TestUDP, tb.AIOTestCase): method test_create_datagram_endpoint_addrs_ipv6 (line 417) | def test_create_datagram_endpoint_addrs_ipv6(self): FILE: tests/test_unix.py class _TestUnix (line 16) | class _TestUnix: method test_create_unix_server_1 (line 17) | def test_create_unix_server_1(self): method test_create_unix_server_2 (line 177) | def test_create_unix_server_2(self): method test_create_unix_server_3 (line 190) | def test_create_unix_server_3(self): method test_create_unix_server_existing_path_sock (line 198) | def test_create_unix_server_existing_path_sock(self): method test_create_unix_connection_open_unix_con_addr (line 211) | def test_create_unix_connection_open_unix_con_addr(self): method test_create_unix_connection_open_unix_con_sock (line 226) | def test_create_unix_connection_open_unix_con_sock(self): method test_create_unix_connection_open_con_sock (line 243) | def test_create_unix_connection_open_con_sock(self): method _test_create_unix_connection_1 (line 260) | def _test_create_unix_connection_1(self, client): method test_create_unix_connection_2 (line 298) | def test_create_unix_connection_2(self): method test_create_unix_connection_3 (line 313) | def test_create_unix_connection_3(self): method test_create_unix_connection_4 (line 356) | def test_create_unix_connection_4(self): method test_create_unix_connection_5 (line 371) | def test_create_unix_connection_5(self): method test_create_unix_connection_6 (line 399) | def test_create_unix_connection_6(self): class Test_UV_Unix (line 408) | class Test_UV_Unix(_TestUnix, tb.UVTestCase): method test_create_unix_connection_pathlib (line 411) | def test_create_unix_connection_pathlib(self): method test_create_unix_server_pathlib (line 422) | def test_create_unix_server_pathlib(self): method test_transport_fromsock_get_extra_info (line 430) | def test_transport_fromsock_get_extra_info(self): method test_create_unix_server_path_dgram (line 453) | def test_create_unix_server_path_dgram(self): method test_create_unix_server_path_stream_bittype (line 464) | def test_create_unix_server_path_stream_bittype(self): method test_epollhup (line 478) | def test_epollhup(self): class Test_AIO_Unix (line 529) | class Test_AIO_Unix(_TestUnix, tb.AIOTestCase): class _TestSSL (line 533) | class _TestSSL(tb.SSLTestCase): method test_create_unix_server_ssl_1 (line 538) | def test_create_unix_server_ssl_1(self): method test_create_unix_connection_ssl_1 (line 638) | def test_create_unix_connection_ssl_1(self): class Test_UV_UnixSSL (line 701) | class Test_UV_UnixSSL(_TestSSL, tb.UVTestCase): class Test_AIO_UnixSSL (line 705) | class Test_AIO_UnixSSL(_TestSSL, tb.AIOTestCase): FILE: uvloop/__init__.py class Loop (line 18) | class Loop(__BaseLoop, _AbstractEventLoop): # type: ignore[misc] function new_event_loop (line 22) | def new_event_loop() -> Loop: function run (line 28) | def run( function run (line 38) | def run(main, *, loop_factory=new_event_loop, debug=None, **run_kwargs): function _cancel_all_tasks (line 104) | def _cancel_all_tasks(loop: _AbstractEventLoop) -> None: function __getattr__ (line 136) | def __getattr__(name: str) -> _typing.Any: FILE: uvloop/_noop.py function noop (line 1) | def noop() -> None: FILE: uvloop/_testbase.py class MockPattern (line 24) | class MockPattern(str): method __eq__ (line 25) | def __eq__(self, other): class TestCaseDict (line 29) | class TestCaseDict(collections.UserDict): method __init__ (line 31) | def __init__(self, name): method __setitem__ (line 35) | def __setitem__(self, key, value): class BaseTestCaseMeta (line 42) | class BaseTestCaseMeta(type): method __prepare__ (line 45) | def __prepare__(mcls, name, bases): method __new__ (line 48) | def __new__(mcls, name, bases, dct): class BaseTestCase (line 62) | class BaseTestCase(unittest.TestCase, metaclass=BaseTestCaseMeta): method new_loop (line 64) | def new_loop(self): method new_policy (line 67) | def new_policy(self): method mock_pattern (line 70) | def mock_pattern(self, str): method wait_closed (line 73) | async def wait_closed(self, obj): method is_asyncio_loop (line 81) | def is_asyncio_loop(self): method run_loop_briefly (line 84) | def run_loop_briefly(self, *, delay=0.01): method loop_exception_handler (line 87) | def loop_exception_handler(self, loop, context): method setUp (line 91) | def setUp(self): method tearDown (line 100) | def tearDown(self): method skip_unclosed_handles_check (line 157) | def skip_unclosed_handles_check(self): method tcp_server (line 160) | def tcp_server(self, server_prog, *, method tcp_client (line 192) | def tcp_client(self, client_prog, method unix_server (line 207) | def unix_server(self, *args, **kwargs): method unix_client (line 210) | def unix_client(self, *args, **kwargs): method unix_sock_name (line 214) | def unix_sock_name(self): method _abort_socket_test (line 225) | def _abort_socket_test(self, ex): function _cert_fullname (line 232) | def _cert_fullname(test_file_name, cert_file_name): function silence_long_exec_warning (line 240) | def silence_long_exec_warning(): function find_free_port (line 256) | def find_free_port(start_from=50000): class SSLTestCase (line 269) | class SSLTestCase: method _create_server_ssl_context (line 271) | def _create_server_ssl_context(self, certfile, keyfile=None): method _create_client_ssl_context (line 282) | def _create_client_ssl_context(self, *, disable_verify=True): method _silence_eof_received_warning (line 290) | def _silence_eof_received_warning(self): class UVTestCase (line 301) | class UVTestCase(BaseTestCase): method new_loop (line 305) | def new_loop(self): method new_policy (line 308) | def new_policy(self): class AIOTestCase (line 312) | class AIOTestCase(BaseTestCase): method setUp (line 316) | def setUp(self): method tearDown (line 324) | def tearDown(self): method new_loop (line 329) | def new_loop(self): method new_policy (line 332) | def new_policy(self): function has_IPv6 (line 336) | def has_IPv6(): class TestSocketWrapper (line 355) | class TestSocketWrapper: method __init__ (line 357) | def __init__(self, sock): method recv_all (line 360) | def recv_all(self, n): method starttls (line 369) | def starttls(self, ssl_context, *, method __getattr__ (line 387) | def __getattr__(self, name): method __repr__ (line 390) | def __repr__(self): class SocketThread (line 394) | class SocketThread(threading.Thread): method stop (line 396) | def stop(self): method __enter__ (line 400) | def __enter__(self): method __exit__ (line 404) | def __exit__(self, *exc): class TestThreadedClient (line 408) | class TestThreadedClient(SocketThread): method __init__ (line 410) | def __init__(self, test, sock, prog, timeout): method run (line 420) | def run(self): class TestThreadedServer (line 429) | class TestThreadedServer(SocketThread): method __init__ (line 431) | def __init__(self, test, sock, prog, timeout, max_clients): method stop (line 449) | def stop(self): method run (line 459) | def run(self): method _run (line 468) | def _run(self): method _handle_client (line 504) | def _handle_client(self, sock): method addr (line 508) | def addr(self): function run_briefly (line 517) | def run_briefly(loop): function run_until (line 531) | def run_until(loop, pred, timeout=30): function disable_logger (line 542) | def disable_logger(): FILE: uvloop/includes/compat.h type epoll_event (line 27) | struct epoll_event {} function epoll_ctl (line 28) | int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) { function PyObject (line 34) | PyObject * function PyObject (line 60) | PyObject * Context_CopyCurrent(void) { function Context_Enter (line 64) | int Context_Enter(PyObject *ctx) { function Context_Exit (line 68) | int Context_Exit(PyObject *ctx) { function PyObject (line 74) | PyObject * Context_CopyCurrent(void) { function Context_Enter (line 78) | int Context_Enter(PyObject *ctx) { function Context_Exit (line 82) | int Context_Exit(PyObject *ctx) { function _Py_RestoreSignals (line 93) | void FILE: uvloop/includes/fork_handler.h function handleAtFork (line 16) | void handleAtFork(void) { function setForkHandler (line 27) | void setForkHandler(OnForkHandler handler) function resetForkHandler (line 33) | void resetForkHandler(void) function setMainThreadID (line 38) | void setMainThreadID(uint64_t id) { FILE: uvloop/loop.pyi class Loop (line 27) | class Loop: method call_soon (line 28) | def call_soon( method call_soon_threadsafe (line 31) | def call_soon_threadsafe( method call_later (line 34) | def call_later( method call_at (line 37) | def call_at( method time (line 40) | def time(self) -> float: ... method stop (line 41) | def stop(self) -> None: ... method run_forever (line 42) | def run_forever(self) -> None: ... method close (line 43) | def close(self) -> None: ... method get_debug (line 44) | def get_debug(self) -> bool: ... method set_debug (line 45) | def set_debug(self, enabled: bool) -> None: ... method is_running (line 46) | def is_running(self) -> bool: ... method is_closed (line 47) | def is_closed(self) -> bool: ... method create_future (line 48) | def create_future(self) -> asyncio.Future[Any]: ... method create_task (line 49) | def create_task( method set_task_factory (line 55) | def set_task_factory( method get_task_factory (line 61) | def get_task_factory( method run_until_complete (line 67) | def run_until_complete(self, future: Generator[Any, None, _T]) -> _T: ... method run_until_complete (line 69) | def run_until_complete(self, future: Awaitable[_T]) -> _T: ... method getaddrinfo (line 70) | async def getaddrinfo( method getnameinfo (line 88) | async def getnameinfo( method start_tls (line 97) | async def start_tls( method create_server (line 109) | async def create_server( method create_server (line 127) | async def create_server( method create_connection (line 145) | async def create_connection( method create_connection (line 162) | async def create_connection( method create_unix_server (line 178) | async def create_unix_server( method create_unix_connection (line 190) | async def create_unix_connection( method default_exception_handler (line 201) | def default_exception_handler(self, context: _Context) -> None: ... method get_exception_handler (line 202) | def get_exception_handler(self) -> Optional[_ExceptionHandler]: ... method set_exception_handler (line 203) | def set_exception_handler(self, handler: Optional[_ExceptionHandler]) ... method call_exception_handler (line 204) | def call_exception_handler(self, context: _Context) -> None: ... method add_reader (line 205) | def add_reader(self, fd: Any, callback: Callable[..., Any], *args: Any... method remove_reader (line 206) | def remove_reader(self, fd: Any) -> None: ... method add_writer (line 207) | def add_writer(self, fd: Any, callback: Callable[..., Any], *args: Any... method remove_writer (line 208) | def remove_writer(self, fd: Any) -> None: ... method sock_recv (line 209) | async def sock_recv(self, sock: socket, nbytes: int) -> bytes: ... method sock_recv_into (line 210) | async def sock_recv_into(self, sock: socket, buf: bytearray) -> int: ... method sock_sendall (line 211) | async def sock_sendall(self, sock: socket, data: bytes) -> None: ... method sock_accept (line 212) | async def sock_accept(self, sock: socket) -> Tuple[socket, _RetAddress... method sock_connect (line 213) | async def sock_connect(self, sock: socket, address: _Address) -> None:... method sock_recvfrom (line 214) | async def sock_recvfrom(self, sock: socket, bufsize: int) -> bytes: ... method sock_recvfrom_into (line 215) | async def sock_recvfrom_into(self, sock: socket, buf: bytearray, nbyte... method sock_sendto (line 216) | async def sock_sendto(self, sock: socket, data: bytes, address: _Addre... method connect_accepted_socket (line 217) | async def connect_accepted_socket( method run_in_executor (line 226) | async def run_in_executor( method set_default_executor (line 229) | def set_default_executor(self, executor: Any) -> None: ... method subprocess_shell (line 230) | async def subprocess_shell( method subprocess_exec (line 240) | async def subprocess_exec( method connect_read_pipe (line 249) | async def connect_read_pipe( method connect_write_pipe (line 252) | async def connect_write_pipe( method add_signal_handler (line 255) | def add_signal_handler( method remove_signal_handler (line 258) | def remove_signal_handler(self, sig: int) -> bool: ... method create_datagram_endpoint (line 259) | async def create_datagram_endpoint( method shutdown_asyncgens (line 273) | async def shutdown_asyncgens(self) -> None: ... method shutdown_default_executor (line 274) | async def shutdown_default_executor( method sendfile (line 280) | async def sendfile( method sock_sendfile (line 289) | async def sock_sendfile(