Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias Import alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias identifier TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad body ImportFrom alias identifier TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore NameLoad body If BinOpBitAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad ListLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr ListLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr SubscriptLoad NameLoad Index Num With Call AttributeLoad NameLoad attr NameLoad body Delete SubscriptDel NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpBitAnd NameLoad UnaryOpInvert BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr With NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If Call NameLoad NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Dict Assign NameStore Dict For NameStore Call NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore ListLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr If NameLoad body Break Expr Call NameLoad Num orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num ListLoad decorator_list Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpSub Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpSub Call NameLoad NameLoad Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Assign NameStore BinOpSub NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareLtELtE Num NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Lambda arguments args defaults vararg NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpSub Call NameLoad NameLoad Num decorator_list Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Str decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad BinOpPow Num Num handlers ExceptHandler type TupleLoad NameLoad NameLoad body Assign NameStore NameLoad AugAssignSub NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad BinOpFloorDiv NameLoad Num body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Raise Expr Call AttributeLoad NameLoad attr BinOpFloorDiv NameLoad Num Call NameLoad Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Num Num Call AttributeLoad NameLoad attr NameLoad Str decorator_list ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad decorator_list Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Str ClassDef bases NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad decorator_list Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Str ClassDef bases NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad decorator_list Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Str ClassDef bases NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad decorator_list Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Str FunctionDef arguments args defaults body Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A errno N/A os N/A random N/A signal N/A sys time sleep N/A unittest N/A unittest.mock N/A N/A test support N/A N/A N/A ImportError N/A asyncio test_support support N/A N/A time monotonic time N/A N/A N/A ImportError N/A time time time N/A N/A N/A resource N/A N/A N/A ImportError N/A N/A resource None asyncio selectors asyncio.test_utils socketpair find_ready_matching N/A N/A ready flag N/A N/A N/A match N/A N/A N/A key events ready N/A N/A N/A events flag N/A N/A N/A N/A match append N/A key fileobj N/A match N/A BaseSelectorTestCase N/A N/A unittest TestCase N/A make_socketpair N/A N/A self N/A N/A N/A N/A rd wr N/A socketpair N/A N/A N/A self addCleanup N/A rd close N/A N/A N/A self addCleanup N/A wr close N/A N/A rd wr N/A test_register N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A N/A rd wr N/A N/A self make_socketpair N/A key N/A N/A s register rd N/A selectors EVENT_READ data N/A N/A N/A self assertIsInstance key N/A selectors SelectorKey N/A N/A N/A self assertEqual N/A key fileobj rd N/A N/A N/A self assertEqual N/A key fd N/A N/A rd fileno N/A N/A N/A self assertEqual N/A key events N/A selectors EVENT_READ N/A N/A N/A self assertEqual N/A key data data N/A N/A N/A self assertRaises ValueError N/A s register 0 999999 N/A N/A N/A self assertRaises ValueError N/A s register -10 N/A selectors EVENT_READ N/A N/A N/A self assertRaises KeyError N/A s register rd N/A selectors EVENT_READ N/A N/A N/A self assertRaises KeyError N/A s register N/A N/A rd fileno N/A selectors EVENT_READ N/A test_unregister N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A N/A rd wr N/A N/A self make_socketpair N/A N/A N/A s register rd N/A selectors EVENT_READ N/A N/A N/A s unregister rd N/A N/A N/A self assertRaises KeyError N/A s unregister 999999 N/A N/A N/A self assertRaises KeyError N/A s unregister rd N/A test_unregister_after_fd_close N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A N/A rd wr N/A N/A self make_socketpair N/A N/A r w N/A N/A N/A rd fileno N/A N/A wr fileno N/A N/A N/A s register r N/A selectors EVENT_READ N/A N/A N/A s register w N/A selectors EVENT_WRITE N/A N/A N/A rd close N/A N/A N/A wr close N/A N/A N/A s unregister r N/A N/A N/A s unregister w N/A test_unregister_after_fd_close_and_reuse N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A N/A rd wr N/A N/A self make_socketpair N/A N/A r w N/A N/A N/A rd fileno N/A N/A wr fileno N/A N/A N/A s register r N/A selectors EVENT_READ N/A N/A N/A s register w N/A selectors EVENT_WRITE N/A N/A rd2 wr2 N/A N/A self make_socketpair N/A N/A N/A rd close N/A N/A N/A wr close N/A N/A N/A os dup2 N/A N/A rd2 fileno r N/A N/A N/A os dup2 N/A N/A wr2 fileno w N/A N/A N/A self addCleanup N/A os close r N/A N/A N/A self addCleanup N/A os close w N/A N/A N/A s unregister r N/A N/A N/A s unregister w N/A N/A N/A unittest skipUnless N/A N/A os name posix requires posix test_unregister_after_socket_close N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A N/A rd wr N/A N/A self make_socketpair N/A N/A N/A s register rd N/A selectors EVENT_READ N/A N/A N/A s register wr N/A selectors EVENT_WRITE N/A N/A N/A rd close N/A N/A N/A wr close N/A N/A N/A s unregister rd N/A N/A N/A s unregister wr N/A test_modify N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A N/A rd wr N/A N/A self make_socketpair N/A key N/A N/A s register rd N/A selectors EVENT_READ N/A key2 N/A N/A s modify rd N/A selectors EVENT_WRITE N/A N/A N/A self assertNotEqual N/A key events N/A key2 events N/A N/A N/A self assertEqual key2 N/A N/A s get_key rd N/A N/A N/A s unregister rd N/A d1 N/A object N/A d2 N/A object N/A key N/A N/A s register rd N/A selectors EVENT_READ d1 N/A key2 N/A N/A s modify rd N/A selectors EVENT_READ d2 N/A N/A N/A self assertEqual N/A key events N/A key2 events N/A N/A N/A self assertNotEqual N/A key data N/A key2 data N/A N/A N/A self assertEqual key2 N/A N/A s get_key rd N/A N/A N/A self assertEqual N/A key2 data d2 N/A N/A N/A self assertRaises KeyError N/A s modify 999999 N/A selectors EVENT_READ N/A d3 N/A object N/A N/A s register N/A N/A N/A unittest mock Mock N/A N/A s unregister N/A N/A N/A unittest mock Mock N/A N/A N/A s modify rd N/A selectors EVENT_READ d3 N/A N/A N/A self assertFalse N/A N/A s register called N/A N/A N/A self assertFalse N/A N/A s unregister called N/A test_close N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A mapping N/A N/A s get_map N/A N/A rd wr N/A N/A self make_socketpair N/A N/A N/A s register rd N/A selectors EVENT_READ N/A N/A N/A s register wr N/A selectors EVENT_WRITE N/A N/A N/A s close N/A N/A N/A self assertRaises RuntimeError N/A s get_key rd N/A N/A N/A self assertRaises RuntimeError N/A s get_key wr N/A N/A N/A self assertRaises KeyError N/A mapping __getitem__ rd N/A N/A N/A self assertRaises KeyError N/A mapping __getitem__ wr N/A test_get_key N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A N/A rd wr N/A N/A self make_socketpair N/A key N/A N/A s register rd N/A selectors EVENT_READ data N/A N/A N/A self assertEqual key N/A N/A s get_key rd N/A N/A N/A self assertRaises KeyError N/A s get_key 999999 N/A test_get_map N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A N/A rd wr N/A N/A self make_socketpair N/A keys N/A N/A s get_map N/A N/A N/A self assertFalse keys N/A N/A N/A self assertEqual N/A len keys 0 N/A N/A N/A self assertEqual N/A list keys N/A N/A key N/A N/A s register rd N/A selectors EVENT_READ data N/A N/A N/A self assertIn rd keys N/A N/A N/A self assertEqual key N/A keys N/A rd N/A N/A N/A self assertEqual N/A len keys 1 N/A N/A N/A self assertEqual N/A list keys N/A N/A N/A rd fileno N/A N/A N/A self assertEqual N/A list N/A N/A keys values N/A key N/A N/A N/A self assertRaises KeyError N/A N/A N/A keys N/A 999999 N/A N/A N/A self assertRaises TypeError N/A N/A N/A keys N/A rd N/A test_select N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A N/A rd wr N/A N/A self make_socketpair N/A N/A N/A s register rd N/A selectors EVENT_READ N/A wr_key N/A N/A s register wr N/A selectors EVENT_WRITE N/A result N/A N/A s select N/A N/A key events result N/A N/A N/A N/A self assertTrue N/A isinstance key N/A selectors SelectorKey N/A N/A N/A self assertTrue events N/A N/A N/A self assertFalse N/A events N/A N/A N/A selectors EVENT_READ N/A selectors EVENT_WRITE N/A N/A N/A self assertEqual N/A N/A wr_key N/A selectors EVENT_WRITE result N/A test_context_manager N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A N/A rd wr N/A N/A self make_socketpair N/A s sel N/A N/A N/A N/A sel register rd N/A selectors EVENT_READ N/A N/A N/A sel register wr N/A selectors EVENT_WRITE N/A N/A N/A self assertRaises RuntimeError N/A s get_key rd N/A N/A N/A self assertRaises RuntimeError N/A s get_key wr N/A test_fileno N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A N/A hasattr s fileno N/A N/A fd N/A N/A s fileno N/A N/A N/A self assertTrue N/A isinstance fd int N/A N/A N/A self assertGreaterEqual fd 0 N/A test_selector N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A NUM_SOCKETS 12 N/A MSG  This is a test. N/A MSG_LEN N/A len MSG N/A readers N/A N/A writers N/A N/A r2w N/A N/A w2r N/A N/A i N/A range NUM_SOCKETS N/A N/A N/A rd wr N/A N/A self make_socketpair N/A N/A N/A s register rd N/A selectors EVENT_READ N/A N/A N/A s register wr N/A selectors EVENT_WRITE N/A N/A N/A readers append rd N/A N/A N/A writers append wr N/A N/A r2w N/A rd wr N/A N/A w2r N/A wr rd N/A bufs N/A N/A writers N/A N/A ready N/A N/A s select N/A ready_writers N/A find_ready_matching ready N/A selectors EVENT_WRITE N/A N/A ready_writers N/A N/A N/A N/A self fail no sockets ready for writing N/A wr N/A N/A random choice ready_writers N/A N/A N/A wr send MSG N/A i N/A range 10 N/A N/A ready N/A N/A s select N/A ready_readers N/A find_ready_matching ready N/A selectors EVENT_READ N/A ready_readers N/A N/A N/A N/A sleep 0.1 N/A N/A N/A N/A self fail no sockets ready for reading N/A N/A N/A self assertEqual N/A N/A w2r N/A wr ready_readers N/A rd N/A ready_readers N/A 0 N/A buf N/A N/A rd recv MSG_LEN N/A N/A N/A self assertEqual N/A len buf MSG_LEN N/A N/A N/A bufs append buf N/A N/A N/A s unregister N/A r2w N/A rd N/A N/A N/A s unregister rd N/A N/A N/A writers remove N/A r2w N/A rd N/A N/A N/A self assertEqual bufs N/A N/A MSG NUM_SOCKETS N/A test_empty_select N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A N/A N/A self assertEqual N/A N/A s select timeout 0 N/A N/A N/A N/A unittest skipIf N/A N/A sys platform win32 select.select() cannot be used with empty fd sets test_timeout N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A N/A rd wr N/A N/A self make_socketpair N/A N/A N/A s register wr N/A selectors EVENT_WRITE N/A t N/A time N/A N/A N/A self assertEqual 1 N/A len N/A N/A s select 0 N/A N/A N/A self assertEqual 1 N/A len N/A N/A s select -1 N/A N/A N/A self assertLess N/A N/A time t 0.5 N/A N/A N/A s unregister wr N/A N/A N/A s register rd N/A selectors EVENT_READ N/A t N/A time N/A N/A N/A self assertFalse N/A N/A s select 0 N/A N/A N/A self assertFalse N/A N/A s select -1 N/A N/A N/A self assertLess N/A N/A time t 0.5 N/A t0 N/A time N/A N/A N/A self assertFalse N/A N/A s select 1 N/A t1 N/A time N/A dt N/A t1 t0 N/A N/A N/A self assertTrue N/A 0.8 dt 2.0 dt N/A test_select_interrupt N/A N/A self N/A N/A N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A N/A rd wr N/A N/A self make_socketpair N/A orig_alrm_handler N/A N/A signal signal N/A signal SIGALRM N/A N/A N/A N/A args None N/A N/A N/A self addCleanup N/A signal signal N/A signal SIGALRM orig_alrm_handler N/A N/A N/A self addCleanup N/A signal alarm 0 N/A N/A N/A signal alarm 1 N/A N/A N/A s register rd N/A selectors EVENT_READ N/A t N/A time N/A N/A N/A self assertFalse N/A N/A s select 2 N/A N/A N/A self assertLess N/A N/A time t 2.5 N/A N/A N/A unittest skipUnless N/A hasattr signal alarm signal.alarm() required for this test N/A ScalableSelectorMixIn N/A N/A test_above_fd_setsize N/A N/A self N/A N/A N/A N/A soft hard N/A N/A resource getrlimit N/A resource RLIMIT_NOFILE N/A N/A N/A N/A N/A resource setrlimit N/A resource RLIMIT_NOFILE N/A hard hard N/A N/A N/A self addCleanup N/A resource setrlimit N/A resource RLIMIT_NOFILE N/A soft hard N/A NUM_FDS N/A min hard N/A 2 16 N/A N/A N/A N/A OSError ValueError N/A N/A NUM_FDS soft N/A NUM_FDS 32 N/A s N/A N/A self SELECTOR N/A N/A N/A self addCleanup N/A s close N/A i N/A range N/A NUM_FDS 2 N/A N/A N/A N/A N/A rd wr N/A N/A self make_socketpair N/A N/A N/A OSError N/A N/A N/A N/A self skipTest FD limit reached N/A N/A N/A N/A N/A s register rd N/A selectors EVENT_READ N/A N/A N/A s register wr N/A selectors EVENT_WRITE N/A N/A N/A OSError N/A e N/A N/A N/A N/A e errno N/A errno ENOSPC N/A N/A N/A N/A self skipTest FD limit reached N/A N/A N/A N/A self assertEqual N/A NUM_FDS 2 N/A len N/A N/A s select N/A N/A N/A support requires_mac_ver 10 5 N/A N/A unittest skipUnless resource Test needs resource module N/A DefaultSelectorTestCase N/A BaseSelectorTestCase N/A N/A SELECTOR N/A selectors DefaultSelector N/A SelectSelectorTestCase N/A BaseSelectorTestCase N/A N/A SELECTOR N/A selectors SelectSelector N/A PollSelectorTestCase N/A BaseSelectorTestCase ScalableSelectorMixIn N/A N/A SELECTOR N/A getattr selectors PollSelector None N/A N/A N/A unittest skipUnless N/A hasattr selectors PollSelector Test needs selectors.PollSelector EpollSelectorTestCase N/A BaseSelectorTestCase ScalableSelectorMixIn N/A N/A SELECTOR N/A getattr selectors EpollSelector None N/A N/A N/A unittest skipUnless N/A hasattr selectors EpollSelector Test needs selectors.EpollSelector KqueueSelectorTestCase N/A BaseSelectorTestCase ScalableSelectorMixIn N/A N/A SELECTOR N/A getattr selectors KqueueSelector None N/A N/A N/A unittest skipUnless N/A hasattr selectors KqueueSelector Test needs selectors.KqueueSelector) DevpollSelectorTestCase N/A BaseSelectorTestCase ScalableSelectorMixIn N/A N/A SELECTOR N/A getattr selectors DevpollSelector None N/A N/A N/A unittest skipUnless N/A hasattr selectors DevpollSelector Test needs selectors.DevpollSelector test_main N/A N/A N/A N/A N/A tests N/A DefaultSelectorTestCase SelectSelectorTestCase PollSelectorTestCase EpollSelectorTestCase KqueueSelectorTestCase DevpollSelectorTestCase N/A N/A N/A support run_unittest tests N/A N/A N/A support reap_children N/A N/A N/A __name__ __main__ N/A N/A N/A test_main