MCPcopy Index your code
hub / github.com/python/cpython / _unix_getnode

Function _unix_getnode

Lib/uuid.py:645–649  ·  view source on GitHub ↗

Get the hardware address on Unix using the _uuid extension module.

()

Source from the content-addressed store, hash-verified

643
644
645def _unix_getnode():
646 """Get the hardware address on Unix using the _uuid extension module."""
647 if _generate_time_safe and _has_stable_extractable_node:
648 uuid_time, _ = _generate_time_safe()
649 return UUID(bytes=uuid_time).node
650
651def _windll_getnode():
652 """Get the hardware address on Windows using the _uuid extension module."""

Callers

nothing calls this directly

Calls 1

UUIDClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…