Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias alias alias alias alias alias TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Dict ClassDef bases AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise ExceptHandler body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise ExceptHandler body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body If BinOpBitAnd NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr If BinOpBitAnd NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise ExceptHandler body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Num NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore NameLoad If NameLoad body Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If CompareEqEqEq ListLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareNotEq SubscriptLoad NameLoad Index Num NameLoad body Raise orelse Return For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Continue Expr Call NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Continue Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num NameLoad body Import alias If CompareIs NameLoad NameLoad body Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad BinOpMult NameLoad Num If NameLoad body Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Num If Call AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore BinOpBitOr NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Continue Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad BinOpMult NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Num If Call AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore BinOpBitOr NameLoad AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareNotEq SubscriptLoad NameLoad Index Num NameLoad body Raise Assign NameStore ListLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Continue Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num Num NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore NameLoad If NameLoad body If Call NameLoad NameLoad Str body Assign NameStore NameLoad orelse Assign NameStore NameLoad orelse Assign NameStore NameLoad While NameLoad body Expr Call NameLoad NameLoad NameLoad decorator_list ClassDef bases body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr Num TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad BinOpAdd BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str orelse If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpMult Num AttributeLoad NameLoad attr Num Return BinOpMod Str TupleLoad Call AttributeLoad Str attr NameLoad BinOpBitAnd Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr orelse Assign NameStore NameLoad If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore NameLoad If Call AttributeLoad NameLoad attr NameLoad body Delete SubscriptDel NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpBitOr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num handlers ExceptHandler type AttributeLoad NameLoad attr body Pass decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list If CompareEq AttributeLoad NameLoad attr Str body FunctionDef arguments args NameParam defaults body Return UnaryOpNot AttributeLoad NameLoad attr decorator_list orelse FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Num If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareGt NameLoad Num body Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIn NameLoad TupleLoad NameLoad NameLoad NameLoad body Return If CompareIn NameLoad TupleLoad Num NameLoad body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr orelse Raise AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq SubscriptLoad NameLoad Index Num NameLoad body Pass orelse Raise AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareEq SubscriptLoad NameLoad Index Num NameLoad body Return Num orelse Raise AttributeLoad NameLoad attr NameLoad Return Num decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Return Str orelse Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If CompareIn SubscriptLoad NameLoad Index Num ListLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Return Str orelse Raise AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body If BoolOpOr NameLoad CompareNotEq NameLoad Str body Print BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr orelse If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Assign NameStore BinOpMod Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpOr UnaryOpNot AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assert NameLoad While NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Delete NameDel Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad Str attr ListComp BinOpMod Str NameLoad comprehension NameStore NameLoad Return TupleLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq AttributeLoad NameLoad attr Str body Import alias ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num Assign NameStore BinOpBitOr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A Basic infrastructure for asynchronous socket service clients and servers.

There are only two ways to have a program on a single processor do "more
than one thing at a time".  Multi-threaded programming is the simplest and
most popular way to do it, but there is another very different technique,
that lets you have nearly all the advantages of multi-threading, without
actually using multiple threads. it's really only practical if your program
is largely I/O bound. If your program is CPU bound, then pre-emptive
scheduled threads are probably what you really need. Network servers are
rarely CPU-bound, however.

If your operating system supports the select() system call in its I/O
library (and nearly all do), then you can use it to juggle multiple
communication channels at once; doing other work while your I/O is taking
place in the "background."  Although this strategy can seem strange and
complex, especially at first, it is in many ways easier to understand and
control than multi-threaded programming. The module documented here solves
many of the difficult problems for you, making the task of building
sophisticated high-performance network servers and clients a snap.
 N/A exceptions N/A select N/A socket N/A sys N/A time N/A os errno EALREADY EINPROGRESS EWOULDBLOCK ECONNRESET ENOTCONN ESHUTDOWN EINTR EISCONN N/A N/A N/A socket_map N/A N/A N/A NameError N/A N/A socket_map N/A ExitNow N/A N/A exceptions Exception N/A N/A N/A read N/A N/A obj N/A N/A N/A N/A N/A N/A N/A obj handle_read_event N/A N/A N/A ExitNow N/A N/A N/A N/A N/A N/A N/A obj handle_error N/A write N/A N/A obj N/A N/A N/A N/A N/A N/A N/A obj handle_write_event N/A N/A N/A ExitNow N/A N/A N/A N/A N/A N/A N/A obj handle_error N/A readwrite N/A N/A obj flags N/A N/A N/A N/A N/A N/A flags N/A select POLLIN N/A N/A N/A N/A obj handle_read_event N/A N/A flags N/A select POLLOUT N/A N/A N/A N/A obj handle_write_event N/A N/A N/A ExitNow N/A N/A N/A N/A N/A N/A N/A obj handle_error N/A poll N/A N/A timeout map N/A 0.0 None N/A N/A N/A map None N/A N/A map socket_map N/A map N/A N/A r N/A N/A w N/A N/A e N/A N/A N/A fd obj N/A N/A map items N/A N/A N/A N/A obj readable N/A N/A N/A N/A r append fd N/A N/A N/A obj writable N/A N/A N/A N/A w append fd N/A N/A N/A r w e N/A N/A N/A N/A time sleep timeout N/A N/A N/A N/A N/A r w e N/A N/A select select r w e timeout N/A N/A N/A N/A select error N/A err N/A N/A N/A N/A err N/A 0 EINTR N/A N/A N/A N/A N/A fd r N/A N/A obj N/A N/A map get fd N/A N/A obj None N/A N/A N/A N/A read obj N/A fd w N/A N/A obj N/A N/A map get fd N/A N/A obj None N/A N/A N/A N/A write obj N/A poll2 N/A N/A timeout map N/A 0.0 None N/A N/A poll N/A N/A map None N/A N/A map socket_map N/A N/A timeout None N/A N/A timeout N/A int N/A timeout 1000 N/A map N/A N/A l N/A N/A N/A fd obj N/A N/A map items N/A N/A flags 0 N/A N/A N/A obj readable N/A N/A flags N/A poll POLLIN N/A N/A N/A obj writable N/A N/A flags N/A flags N/A poll POLLOUT N/A flags N/A N/A N/A N/A l append N/A fd flags N/A r N/A N/A poll poll l timeout N/A N/A fd flags r N/A N/A obj N/A N/A map get fd N/A N/A obj None N/A N/A N/A N/A readwrite obj flags N/A poll3 N/A N/A timeout map N/A 0.0 None N/A N/A N/A map None N/A N/A map socket_map N/A N/A timeout None N/A N/A timeout N/A int N/A timeout 1000 N/A pollster N/A N/A select poll N/A map N/A N/A N/A fd obj N/A N/A map items N/A N/A flags 0 N/A N/A N/A obj readable N/A N/A flags N/A select POLLIN N/A N/A N/A obj writable N/A N/A flags N/A flags N/A select POLLOUT N/A flags N/A N/A N/A N/A pollster register fd flags N/A N/A N/A r N/A N/A pollster poll timeout N/A N/A N/A N/A select error N/A err N/A N/A N/A N/A err N/A 0 EINTR N/A N/A N/A r N/A N/A N/A fd flags r N/A N/A obj N/A N/A map get fd N/A N/A obj None N/A N/A N/A N/A readwrite obj flags N/A loop N/A N/A timeout use_poll map N/A 30.0 0 None N/A N/A N/A map None N/A N/A map socket_map N/A use_poll N/A N/A N/A hasattr select poll N/A N/A poll_fun poll3 N/A N/A poll_fun poll2 N/A N/A poll_fun poll N/A map N/A N/A N/A poll_fun timeout map N/A dispatcher N/A N/A N/A debug 0 N/A connected 0 N/A accepting 0 N/A closing 0 N/A addr None __init__ N/A N/A self sock map N/A None None N/A N/A sock N/A N/A N/A N/A self set_socket sock map N/A N/A N/A N/A self socket setblocking 0 N/A N/A self connected 1 N/A N/A N/A N/A self addr N/A N/A sock getpeername N/A N/A N/A N/A socket error N/A N/A N/A N/A N/A self socket None N/A __repr__ N/A N/A self N/A N/A N/A status N/A N/A N/A N/A N/A self __class__ __module__ . N/A N/A self __class__ __name__ N/A N/A N/A self accepting N/A self addr N/A N/A N/A N/A status append listening N/A N/A N/A self connected N/A N/A N/A N/A status append connected N/A N/A N/A self addr None N/A N/A N/A N/A N/A N/A status append N/A %s:%d N/A self addr N/A N/A N/A TypeError N/A N/A N/A N/A status append N/A repr N/A self addr N/A MAX N/A N/A 2 N/A sys maxint 1 N/A N/A <%s at %#x> N/A N/A N/A join status N/A N/A id self MAX N/A add_channel N/A N/A self map N/A None N/A N/A N/A map None N/A N/A N/A hasattr self _map N/A N/A map N/A self _map N/A N/A self _map N/A N/A map socket_map N/A N/A N/A hasattr self _fileno N/A N/A N/A self _fileno N/A N/A N/A self socket fileno N/A N/A map N/A N/A self _fileno self N/A del_channel N/A N/A self map N/A None N/A N/A fd N/A self _fileno N/A N/A map None N/A N/A map socket_map N/A N/A N/A map has_key fd N/A N/A N/A map N/A fd N/A create_socket N/A N/A self family type N/A N/A N/A N/A self family_and_type N/A family type N/A N/A self socket N/A N/A socket socket family type N/A N/A N/A N/A self socket setblocking 0 N/A set_socket N/A N/A self sock map N/A None N/A N/A N/A self socket sock N/A N/A N/A sock fileno N/A N/A N/A N/A self add_channel map N/A N/A N/A self _map map N/A set_reuse_addr N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self socket setsockopt N/A socket SOL_SOCKET N/A socket SO_REUSEADDR N/A N/A N/A N/A self socket getsockopt N/A socket SOL_SOCKET N/A socket SO_REUSEADDR 1 N/A N/A N/A N/A socket error N/A N/A N/A readable N/A N/A self N/A N/A N/A True N/A N/A N/A N/A os name mac N/A writable N/A N/A self N/A N/A N/A N/A N/A self accepting N/A N/A writable N/A N/A self N/A N/A N/A True N/A listen N/A N/A self num N/A N/A N/A N/A self accepting 1 N/A N/A N/A N/A os name nt N/A num 5 N/A N/A num 1 N/A ret N/A N/A N/A self socket listen num N/A N/A N/A self add_channel N/A ret N/A bind N/A N/A self addr N/A N/A N/A N/A self addr addr N/A N/A N/A N/A self socket bind addr N/A connect N/A N/A self address N/A N/A N/A N/A self connected 0 N/A err N/A N/A N/A self socket connect_ex address N/A N/A err N/A EINPROGRESS EALREADY EWOULDBLOCK N/A N/A N/A N/A err N/A 0 EISCONN N/A N/A N/A N/A self add_channel N/A N/A self addr address N/A N/A self connected 1 N/A N/A N/A self handle_connect N/A N/A N/A socket error err N/A accept N/A N/A self N/A N/A N/A N/A N/A N/A conn addr N/A N/A N/A self socket accept N/A N/A N/A self add_channel N/A N/A conn addr N/A N/A N/A N/A socket error N/A why N/A N/A N/A N/A why N/A 0 EWOULDBLOCK N/A N/A N/A N/A N/A socket error why N/A send N/A N/A self data N/A N/A N/A N/A N/A result N/A N/A N/A self socket send data N/A result N/A N/A N/A N/A socket error N/A why N/A N/A N/A N/A why N/A 0 EWOULDBLOCK N/A N/A 0 N/A N/A N/A socket error why N/A 0 N/A recv N/A N/A self buffer_size N/A N/A N/A N/A N/A data N/A N/A N/A self socket recv buffer_size N/A N/A data N/A N/A N/A N/A self handle_close N/A N/A N/A data N/A N/A N/A N/A socket error N/A why N/A N/A N/A N/A why N/A 0 N/A ECONNRESET ENOTCONN ESHUTDOWN N/A N/A N/A N/A self handle_close N/A N/A N/A N/A socket error why N/A close N/A N/A self N/A N/A N/A N/A N/A self del_channel N/A N/A N/A N/A self socket close N/A __getattr__ N/A N/A self attr N/A N/A N/A N/A getattr N/A self socket attr N/A log N/A N/A self message N/A N/A N/A N/A N/A N/A sys stderr write N/A log: %s
 N/A str message N/A log_info N/A N/A self message type N/A info N/A N/A N/A __debug__ N/A type info N/A N/A N/A %s: %s N/A type message N/A handle_read_event N/A N/A self N/A N/A N/A N/A self accepting N/A N/A N/A N/A self connected N/A N/A N/A self connected 1 N/A N/A N/A self handle_accept N/A N/A N/A N/A self connected N/A N/A N/A N/A self handle_connect N/A N/A self connected 1 N/A N/A N/A self handle_read N/A N/A N/A N/A self handle_read N/A handle_write_event N/A N/A self N/A N/A N/A N/A N/A self connected N/A N/A N/A N/A self handle_connect N/A N/A self connected 1 N/A N/A N/A self handle_write N/A handle_expt_event N/A N/A self N/A N/A N/A N/A N/A self handle_expt N/A handle_error N/A N/A self N/A N/A N/A N/A nil t v tbinfo N/A compact_traceback N/A N/A N/A self_repr N/A repr self N/A N/A N/A N/A self_repr N/A <__repr__(self) failed for object at %0x> N/A id self N/A N/A N/A self log_info N/A uncaptured python exception, closing channel %s (%s:%s %s) N/A self_repr t v tbinfo error N/A N/A N/A self close N/A handle_expt N/A N/A self N/A N/A N/A N/A N/A self log_info unhandled exception warning N/A handle_read N/A N/A self N/A N/A N/A N/A N/A self log_info unhandled read event warning N/A handle_write N/A N/A self N/A N/A N/A N/A N/A self log_info unhandled write event warning N/A handle_connect N/A N/A self N/A N/A N/A N/A N/A self log_info unhandled connect event warning N/A handle_accept N/A N/A self N/A N/A N/A N/A N/A self log_info unhandled accept event warning N/A handle_close N/A N/A self N/A N/A N/A N/A N/A self log_info unhandled close event warning N/A N/A N/A self close N/A N/A dispatcher_with_send N/A dispatcher N/A __init__ N/A N/A self sock N/A None N/A N/A N/A N/A dispatcher __init__ self sock N/A N/A self out_buffer N/A initiate_send N/A N/A self N/A N/A N/A num_sent 0 N/A num_sent N/A N/A dispatcher send self N/A N/A self out_buffer N/A 512 N/A N/A self out_buffer N/A N/A self out_buffer N/A num_sent N/A handle_write N/A N/A self N/A N/A N/A N/A N/A self initiate_send N/A writable N/A N/A self N/A N/A N/A N/A N/A N/A self connected N/A len N/A self out_buffer N/A send N/A N/A self data N/A N/A N/A N/A self debug N/A N/A N/A N/A self log_info N/A sending %s N/A repr data N/A N/A self out_buffer N/A N/A self out_buffer data N/A N/A N/A self initiate_send N/A N/A compact_traceback N/A N/A N/A N/A N/A N/A t v tb N/A N/A sys exc_info N/A tbinfo N/A N/A tb N/A tb N/A N/A N/A N/A tbinfo append N/A N/A N/A N/A tb tb_frame f_code co_filename N/A N/A N/A tb tb_frame f_code co_name N/A str N/A tb tb_lineno N/A tb N/A tb tb_next N/A tb N/A N/A file function line N/A tbinfo N/A -1 N/A info N/A N/A join N/A N/A [%s|%s|%s] x N/A x tbinfo N/A N/A N/A file function line t v info N/A close_all N/A N/A map N/A None N/A N/A N/A map None N/A N/A map socket_map N/A x N/A N/A map values N/A N/A N/A N/A N/A x socket close N/A N/A N/A map clear N/A N/A N/A N/A os name posix N/A N/A fcntl file_wrapper N/A N/A __init__ N/A N/A self fd N/A N/A N/A N/A self fd fd N/A recv N/A N/A self N/A args N/A N/A N/A N/A os read N/A self fd args N/A send N/A N/A self N/A args N/A N/A N/A N/A os write N/A self fd args N/A N/A read recv N/A write send close N/A N/A self N/A N/A N/A N/A N/A os close N/A self fd N/A fileno N/A N/A self N/A N/A N/A N/A self fd N/A N/A file_dispatcher N/A dispatcher N/A __init__ N/A N/A self fd N/A N/A N/A N/A N/A dispatcher __init__ self N/A N/A self connected 1 N/A flags N/A N/A fcntl fcntl fd N/A fcntl F_GETFL 0 N/A flags N/A flags N/A os O_NONBLOCK N/A N/A N/A fcntl fcntl fd N/A fcntl F_SETFL flags N/A N/A N/A self set_file fd N/A set_file N/A N/A self fd N/A N/A N/A N/A self _fileno fd N/A N/A self socket N/A file_wrapper fd N/A N/A N/A self add_channel N/A N/A