]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132987: Support __index__() in the posix module (GH-133096)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 29 Apr 2025 13:14:47 +0000 (16:14 +0300)
committerGitHub <noreply@github.com>
Tue, 29 Apr 2025 13:14:47 +0000 (16:14 +0300)
commit07edc0d2b232c19c948a7e65d0c9bd61c7ccdcc8
tree52d03f7907829fb7c0be76fc3a009bc17d49075e
parentbba14c3e0129dc6c36c304018ab60a5580043f55
gh-132987: Support __index__() in the posix module (GH-133096)

Support it for the dev_t values in mknod(), major(), minor() and makedev(),
CPU numbers in sched_setaffinity(), group numbers in setgroups(),
configuration name in fpathconf(), pathconf(), confstr(), and sysconf().
Modules/posixmodule.c