]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-89928: Fix integer conversion of device numbers (GH-31794)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 4 Jun 2024 16:36:37 +0000 (19:36 +0300)
committerGitHub <noreply@github.com>
Tue, 4 Jun 2024 16:36:37 +0000 (19:36 +0300)
commit7111d9605f9db7aa0b095bb8ece7ccc0b8115c3f
tree441b89fa6f2b2e3c074f323fcf0ca44ab113babf
parent5f03f0913413ecc4942367cf62ce3a5a5b5d84a5
gh-89928: Fix integer conversion of device numbers (GH-31794)

Fix os.major(), os.minor() and os.makedev().
Support device numbers larger than 2**63-1.
Support non-existent device number (NODEV).
Lib/test/test_posix.py
Misc/NEWS.d/next/Library/2022-03-10-16-47-57.bpo-45767.ywmyo1.rst [new file with mode: 0644]
Modules/clinic/posixmodule.c.h
Modules/posixmodule.c