python / cpython

The Python programming language
https://www.python.org
Other
62.75k stars 30.07k forks source link

Build failure in posixmodule.c with SCHED_SPORADIC available #64416

Closed 0f33552e-3426-4ce7-83ad-4a88a6ffc812 closed 10 years ago

0f33552e-3426-4ce7-83ad-4a88a6ffc812 commented 10 years ago
BPO 20217
Nosy @benjaminp, @phmc
Files
  • sched_sporadic_build.diff: Build fix
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields: ```python assignee = None closed_at = created_at = labels = ['extension-modules'] title = 'Build failure in posixmodule.c with SCHED_SPORADIC available' updated_at = user = 'https://github.com/phmc' ``` bugs.python.org fields: ```python activity = actor = 'python-dev' assignee = 'none' closed = True closed_date = closer = 'python-dev' components = ['Extension Modules'] creation = creator = 'pconnell' dependencies = [] files = ['33409'] hgrepos = [] issue_num = 20217 keywords = ['patch'] message_count = 4.0 messages = ['207865', '207866', '207867', '207868'] nosy_count = 4.0 nosy_names = ['benjamin.peterson', 'python-dev', 'pconnell', 'isoschiz'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue20217' versions = ['Python 3.3'] ```

    0f33552e-3426-4ce7-83ad-4a88a6ffc812 commented 10 years ago

    Typo in revision 71704 that causes build failures on systems with SCHED_SPORADIC available. See attached patch.

    (Can reproduce by #defining SCHED_SPORADIC just above where it's used in posixmodule.c)

    0f33552e-3426-4ce7-83ad-4a88a6ffc812 commented 10 years ago

    Where I actually mean changeset 71704:89e92e684b37

    benjaminp commented 10 years ago

    Congratulations on having a system with SCHED_SPORADIC defined. :)

    1762cc99-3127-4a62-9baf-30c3d0f51ef7 commented 10 years ago

    New changeset 4f74ea7eba03 by Benjamin Peterson in branch '3.3': fix build when SCHED_SPORADIC is defined (closes bpo-20217) http://hg.python.org/cpython/rev/4f74ea7eba03