python / python/cpython

All MacOS 27 systems have the same uuid.getnode() value

Open
#157,848 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

OS-mac type-bug
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

Bug report

Bug description:

All MacOS 27 systems have the same hardware address because all MAC-Addresses are displayed as 02:00:00:00:00:00.

Running on MacOS 27:

uuid.getnode()
2199023255552
uuid.getnode().to_bytes(6)
b'\x02\x00\x00\x00\x00\x00'

I did not find a workaround and according to an Apple developer this is a feature.

CPython versions tested on:

3.14

Operating systems tested on:

macOS

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing uuid.getnode() on macOS 27 and read its platform-specific implementation; the report provides no file or test path. Define the expected behavior for Apple’s 02:00:00:00:00:00 result, then verify the chosen fix or documentation against the shown example.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.