dist_proto.version module

Implement shared pieces of Erlang node negotiation and dist_proto protocol

pyrlang.dist_proto.version.DIST_VSN_PAIR = (5, 5)

Supported dist_proto protocol version (MAX,MIN).

pyrlang.dist_proto.version.check_valid_dist_version(max_min: tuple) → bool

Check that the version is supported :param max_min: tuple(int, int :return: True if ok

pyrlang.dist_proto.version.dist_version_check(max_min: tuple) → bool

Check pair of versions against version which is supported by us

Parameters

max_min (tuple(int, int)) -- (Max, Min) version pair for peer-supported dist version