This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author EdSchouten
Recipients EdSchouten
Date 2016-07-30.15:49:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469893747.69.0.209169490868.issue27656@psf.upfronthosting.co.za>
In-reply-to
Content
The SCHED_* constants that are part of POSIX's <sched.h> are all optional:

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sched.h.html

Python already declares the SCHED_SPORADIC constant as part of the POSIX module optionally, depending on whether it is present in C, but doesn't do this for the other SCHED_* constants.

This is problematic for CloudABI (https://mail.python.org/pipermail/python-dev/2016-July/145708.html), which doesn't support any scheduler interaction at all.

Attached is a patch to only define these if present.
History
Date User Action Args
2016-07-30 15:49:07EdSchoutensetrecipients: + EdSchouten
2016-07-30 15:49:07EdSchoutensetmessageid: <1469893747.69.0.209169490868.issue27656@psf.upfronthosting.co.za>
2016-07-30 15:49:07EdSchoutenlinkissue27656 messages
2016-07-30 15:49:07EdSchoutencreate