Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CHECK_STATUS_PTHREAD signal-safe #74951

Open
pitrou opened this issue Jun 26, 2017 · 2 comments
Open

Make CHECK_STATUS_PTHREAD signal-safe #74951

pitrou opened this issue Jun 26, 2017 · 2 comments
Labels
3.7 (EOL) end of life interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error

Comments

@pitrou
Copy link
Member

pitrou commented Jun 26, 2017

BPO 30766
Nosy @pitrou, @methane
PRs
  • bpo-30766: Make CHECK_STATUS_PTHREAD signal-safe. #2404
  • 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 2017-06-26.12:40:49.115>
    labels = ['interpreter-core', 'type-bug', '3.7']
    title = 'Make CHECK_STATUS_PTHREAD signal-safe'
    updated_at = <Date 2019-03-06.10:15:32.016>
    user = 'https://github.com/pitrou'

    bugs.python.org fields:

    activity = <Date 2019-03-06.10:15:32.016>
    actor = 'methane'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2017-06-26.12:40:49.115>
    creator = 'pitrou'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 30766
    keywords = []
    message_count = 2.0
    messages = ['296887', '337288']
    nosy_count = 2.0
    nosy_names = ['pitrou', 'methane']
    pr_nums = ['2404']
    priority = 'low'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue30766'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7']

    @pitrou
    Copy link
    Member Author

    pitrou commented Jun 26, 2017

    Lock functions may be called from the C signal handler, so strive to make them more signal-safe (they are not unfortunately, but minimizing the number of non-signal-safe functions called there is a good thing).

    Discovered in bpo-30703.

    @pitrou pitrou added 3.7 (EOL) end of life interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error labels Jun 26, 2017
    @methane
    Copy link
    Member

    methane commented Mar 6, 2019

    May I close this issue?

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants