]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.7] closes bpo-34650: Check if sched_getscheduler returns ENOSYS before declaring...
authorBenjamin Peterson <benjamin@python.org>
Wed, 12 Sep 2018 23:00:06 +0000 (16:00 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Sep 2018 23:00:06 +0000 (16:00 -0700)
commit0aef909d630ff40614cde0c58796a8bdf66c67eb
tree71b8eb7fda8f79b845bfb3847a97e2a9cd9e072d
parentec4d099b9f1951b08d1a53181c278173ff6a0cc1
[3.7] closes bpo-34650: Check if sched_getscheduler returns ENOSYS before declaring it supported. (GH-9236)

musl doesn't support the scheduler API, but declares stubs that alway return ENOSYS..
(cherry picked from commit c7042224b8a67748f125c22836862483f81a87a6)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
Lib/test/test_posix.py