python / python/cpython

Implement PyOS_CheckStack on macOS using pthread_get_stack*_np

Open
#78,136 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.8 (EOL) interpreter-core type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 33955
Nosy @ronaldoussoren, @vstinner, @corona10, @ZackerySpytz
PRs
  • python/cpython#8046
  • 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 2018-06-25.11:18:15.677>
    labels = ['interpreter-core', 'type-feature', '3.8']
    title = 'Implement PyOS_CheckStack on macOS using pthread_get_stack*_np'
    updated_at = <Date 2021-03-08.23:56:35.506>
    user = 'https://github.com/ronaldoussoren'
    

    bugs.python.org fields:

    activity = <Date 2021-03-08.23:56:35.506>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2018-06-25.11:18:15.677>
    creator = 'ronaldoussoren'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33955
    keywords = ['patch']
    message_count = 15.0
    messages = ['320415', '320786', '320842', '320868', '320874', '320879', '320880', '320907', '321076', '321078', '321360', '321643', '347981', '350497', '388319']
    nosy_count = 4.0
    nosy_names = ['ronaldoussoren', 'vstinner', 'corona10', 'ZackerySpytz']
    pr_nums = ['8046']
    priority = 'low'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue33955'
    versions = ['Python 3.8']
    

    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.

    Research direction

    Review PR 8046 and the PyOS_CheckStack entry point described in the issue, then examine how macOS exposes pthread_get_stack*_np. Done means the macOS implementation is integrated and the interpreter-core stack checks behave correctly.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    macos, python
    Domain
    operating-systems
    Issue type
    Feature
    Difficulty
    4/5
    Estimated time
    3-5 days
    Activity status
    Stale
    Clarity
    Mostly clear
    Newbie friendliness
    25/100

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.