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

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