You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Return hostname for os.uname().nodename and OS name for os.sysname() #10153
Presently CP returns the CPU type for os.uname().sysname and os.uname().nodename. For cpython compatibility os.uname().nodename should return the board's hostname and os.uname().sysname should return circuitpython or something similar.
Activity
dhalbert commentedon Mar 20, 2025
These choices were from a time when there was no network support. This kind of identifying information is spread around among:
os.uname()sys.platformsys.versionsys.version_infoplatform(top-level module not turned on in CircuitPython but available in MicroPython)dhalbert commentedon Jun 1, 2026
Moving this to 11.0.0 since it's a breaking change in what's expected.