Jakub Kulik <[email protected]> added the comment:
> Checking for -1 rather than all negative values fixes this issue. To be 100% exact, it should be "checking for -1 and errno" (as other Jakub noted in the PR). Here is the standard for reference: https://pubs.opengroup.org/onlinepubs/009695399/functions/sched_get_priority_min.html Sticking to it should hopefully not break anything. ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue41839> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
