Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue27656

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:[Patch] Make presence of SCHED_* optional
Type:Stage:resolved
Components:Extension ModulesVersions:Python 3.6
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: EdSchouten, python-dev
Priority:normalKeywords:patch

Created on2016-07-30 15:49 byEdSchouten, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
sched.diffEdSchouten,2016-07-30 15:49Patch for declaring SCHED_* conditionallyreview
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)(Python triager)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
DateUserActionArgs
2022-04-11 14:58:34adminsetgithub: 71843
2016-07-31 06:22:40python-devsetstatus: open -> closed

nosy: +python-dev
messages: +msg271723

resolution: fixed
stage: resolved
2016-07-30 15:49:07EdSchoutencreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp