Python stdlib module — platform. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.architecture()Neutralarchitecture(executable, bits, linkage)
Queries the given executable (defaults to the Python interpreter
.freedesktop_os_release()Neutralfreedesktop_os_release()
Return operation system identification from freedesktop.org os-release
.libc_ver()Neutrallibc_ver(executable, lib, version, chunksize)
Tries to determine the libc version that the file executable
.mac_ver()Neutralmac_ver(release, versioninfo, machine)
Get macOS version information and return it as tuple (release,
.platform()Neutralplatform(aliased, terse)
Returns a single string identifying the underlying platform
.python_branch()Neutralpython_branch()
Returns a string identifying the Python implementation
| FQN | Field | |
|---|---|---|
| platform | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import platform