Get the hardware address on Unix using the _uuid extension module.
()
| 643 | |
| 644 | |
| 645 | def _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 | |
| 651 | def _windll_getnode(): |
| 652 | """Get the hardware address on Windows using the _uuid extension module.""" |
nothing calls this directly
no test coverage detected
searching dependent graphs…