◐ Shell
clean mode source ↗

[3.13] gh-89928: Fix integer conversion of device numbers (GH-31794) by miss-islington · Pull Request #120053 · python/cpython

)

Fix os.major(), os.minor() and os.makedev().
Support device numbers larger than 2**63-1.
Support non-existent device number (NODEV).
(cherry picked from commit 7111d96)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

@bedevere-app Bot added the type-bug

An unexpected behavior, bug, or error

label

Jun 4, 2024