dist.distflags module

pyrlang.dist.distflags.DEFAULT_DFLAGS = 217020

Default flags value represents current Pyrlang library features as a combination of feature bits.

pyrlang.dist.distflags.DFLAG_BIT_BINARIES = 1024

The node supports incomplete trailing byte in binaries.

pyrlang.dist.distflags.DFLAG_DIST_MONITOR = 8

The node supports remote monitoring for processes.

pyrlang.dist.distflags.DFLAG_DIST_MONITOR_NAME = 32

The node supports remote monitoring for named processes.

pyrlang.dist.distflags.DFLAG_EXT_PIDS_PORTS = 256

The node supports encoding/decoding of external pids and ports.

pyrlang.dist.distflags.DFLAG_EXT_REFS = 4

The node supports encoding/decoding of external references.

pyrlang.dist.distflags.DFLAG_MAP_TAG = 131072

The node can handle map encoding.

pyrlang.dist.distflags.DFLAG_NEW_FLOATS = 2048

The node supports 8-byte double encoding as IEEE-double.

pyrlang.dist.distflags.DFLAG_NO_MAGIC = 2097152

Internal for pending connection (BEAM VM internal).

pyrlang.dist.distflags.DFLAG_PUBLISHED = 1

Visible or hidden node.

class pyrlang.dist.distflags.NodeOpts(cookie: str, dflags: int = 217020)

Bases: object

A class holding an integer with features that are supported by this node, and the network cookie.