
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2016-07-30 15:49 byEdSchouten, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| sched.diff | EdSchouten,2016-07-30 15:49 | Patch for declaring SCHED_* conditionally | review | |
| Messages (2) | |||
|---|---|---|---|
| msg271697 -(view) | Author: Ed Schouten (EdSchouten)* | Date: 2016-07-30 15:49 | |
The SCHED_* constants that are part of POSIX's <sched.h> are all optional:http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sched.h.htmlPython 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. | |||
| msg271723 -(view) | Author: Roundup Robot (python-dev)![]() | Date: 2016-07-31 06:22 | |
New changeset095b424127e7 by Benjamin Peterson in branch '3.5':all SCHED_ constants are optional (closes#27656)https://hg.python.org/cpython/rev/095b424127e7New changeset64b763290da9 by Benjamin Peterson in branch 'default':merge 3.5 (#27656)https://hg.python.org/cpython/rev/64b763290da9 | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:34 | admin | set | github: 71843 |
| 2016-07-31 06:22:40 | python-dev | set | status: open -> closed nosy: +python-dev messages: +msg271723 resolution: fixed stage: resolved |
| 2016-07-30 15:49:07 | EdSchouten | create | |