]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-133143: Use _Py_ID for the other literals in sys (GH-138698)
authorPetr Viktorin <encukou@gmail.com>
Tue, 9 Sep 2025 12:57:07 +0000 (14:57 +0200)
committerGitHub <noreply@github.com>
Tue, 9 Sep 2025 12:57:07 +0000 (14:57 +0200)
commita92aec101e6e58a784d92f80ee232e4527c3e067
treeb642e3199c4b78ed1f39b9ff862401669990e0d2
parent074f3b20b3f05e2740f5324f1b0653152a41ca82
gh-133143: Use _Py_ID for the other literals in sys (GH-138698)

Follow-up refactoring after GH-133143, where we use `_Py_ID` for "big" and "little"
in `abi_info.byteorder`.
This uses `_Py_ID` for `sys.byteorder`, but also `float_repr_style` and a module name.
Include/internal/pycore_global_objects_fini_generated.h
Include/internal/pycore_global_strings.h
Include/internal/pycore_runtime_init_generated.h
Include/internal/pycore_unicodeobject_generated.h
Python/sysmodule.c