Expose C level compiler flag constants to Python code

Open
#68,656 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
c, python
Domain
compilers

Research direction

Start by reviewing the linked code.patch and opcode.patch files, then inspect the related compiler-flag handling in CPython and the dependency on bpo-24400. Done means the requested C-level compiler flag constants are exposed to Python code without breaking the affected behavior.

Written by the indexing model from the issue text.

Description

interpreter-core type-feature
BPO 24468
Nosy @gvanrossum, @ncoghlan, @larryhastings, @1st1
Dependencies
  • bpo-24400: Awaitable ABC incompatible with functools.singledispatch
  • Files
  • code.patch
  • opcode.patch
  • 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:

    assignee = None
    closed_at = None
    created_at = <Date 2015-06-19.04:47:33.778>
    labels = ['type-feature']
    title = 'Expose C level compiler flag constants to Python code'
    updated_at = <Date 2015-07-03.00:56:21.016>
    user = 'https://github.com/ncoghlan'
    

    bugs.python.org fields:

    activity = <Date 2015-07-03.00:56:21.016>
    actor = 'larry'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2015-06-19.04:47:33.778>
    creator = 'ncoghlan'
    dependencies = ['24400']
    files = ['39741', '39752']
    hgrepos = []
    issue_num = 24468
    keywords = ['patch']
    message_count = 8.0
    messages = ['245487', '245488', '245489', '245510', '245541', '245573', '245580', '246115']
    nosy_count = 5.0
    nosy_names = ['gvanrossum', 'ncoghlan', 'larry', 'yselivanov', 'superluser']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue24468'
    versions = ['Python 3.5', 'Python 3.6']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.