Ronald Oussoren <ronaldousso...@mac.com> added the comment:
An option is to use the host UUID instead of libuuid (as used by the _uuid extension). This has two problems though: (1) the RFC prescribes that the node id is a IEEE 802 MAC address, and (2) the host UUID is a full UUID and would have to be post processed. Because of this I don't think this is a usable alternative. The relevant API is gethostuuid(). Related stackoverflow: https://stackoverflow.com/questions/933460/unique-hardware-id-in-mac-os-x Related elastic issue (where I found gethostuuid): https://github.com/elastic/beats/issues/14439 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41552> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com