Module Expr Str ImportFrom alias Import alias Import alias identifier FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Dict If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Dict If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass If Call NameLoad NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body TryExcept body Return Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad orelse Return NameLoad decorator_list
N/A N/A 
Helper functions for transport components to handle message framing
 __future__ absolute_import N/A msgpack N/A salt.ext.six six frame_msg N/A N/A body header raw_body N/A None False N/A N/A 
    Frame the given message with our wire protocol
     N/A framed_msg N/A N/A N/A header None N/A N/A header N/A N/A N/A framed_msg N/A head header N/A N/A framed_msg N/A body body N/A N/A N/A msgpack dumps framed_msg N/A frame_msg_ipc N/A N/A body header raw_body N/A None False N/A N/A 
    Frame the given message with our wire protocol for IPC

    For IPC, we don't need to be backwards compatible, so
    use the more efficient "use_bin_type=True" on Python 3.
     N/A framed_msg N/A N/A N/A header None N/A N/A header N/A N/A N/A framed_msg N/A head header N/A N/A framed_msg N/A body body N/A N/A six PY2 N/A N/A N/A N/A msgpack dumps framed_msg N/A N/A N/A N/A msgpack dumps framed_msg use_bin_type True N/A _decode_embedded_list N/A N/A src N/A N/A N/A 
    Convert enbedded bytes to strings if possible.
    List helper.
     N/A output N/A N/A elem src N/A N/A N/A isinstance elem dict N/A N/A elem N/A _decode_embedded_dict elem N/A N/A N/A isinstance elem list N/A N/A elem N/A _decode_embedded_list elem N/A N/A N/A isinstance elem bytes N/A N/A N/A N/A elem N/A N/A elem decode N/A N/A N/A UnicodeError N/A N/A N/A N/A N/A output append elem N/A output N/A _decode_embedded_dict N/A N/A src N/A N/A N/A 
    Convert enbedded bytes to strings if possible.
    Dict helper.
     N/A output N/A N/A N/A key val N/A N/A six iteritems src N/A N/A N/A isinstance val dict N/A N/A val N/A _decode_embedded_dict val N/A N/A N/A isinstance val list N/A N/A val N/A _decode_embedded_list val N/A N/A N/A isinstance val bytes N/A N/A N/A N/A val N/A N/A val decode N/A N/A N/A UnicodeError N/A N/A N/A N/A isinstance key bytes N/A N/A N/A N/A key N/A N/A key decode N/A N/A N/A UnicodeError N/A N/A N/A N/A output N/A key val N/A output N/A decode_embedded_strs N/A N/A src N/A N/A N/A 
    Convert enbedded bytes to strings if possible.
    This is necessary because Python 3 makes a distinction
    between these types.

    This wouldn't be needed if we used "use_bin_type=True" when encoding
    and "encoding='utf-8'" when decoding. Unfortunately, this would break
    backwards compatibility due to a change in wire protocol, so this less
    than ideal solution is used instead.
     N/A N/A N/A six PY3 N/A N/A src N/A N/A isinstance src dict N/A N/A N/A _decode_embedded_dict src N/A N/A N/A isinstance src list N/A N/A N/A _decode_embedded_list src N/A N/A N/A isinstance src bytes N/A N/A N/A N/A N/A N/A src decode N/A N/A N/A UnicodeError N/A N/A src N/A N/A src N/A