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

Py_FatalError(): log automatically the function name #84063

Closed
vstinner opened this issue Mar 6, 2020 · 3 comments
Closed

Py_FatalError(): log automatically the function name #84063

vstinner opened this issue Mar 6, 2020 · 3 comments
Labels
3.9 only security fixes topic-C-API

Comments

@vstinner
Copy link
Member

vstinner commented Mar 6, 2020

BPO 39882
Nosy @vstinner
PRs
  • bpo-39882: Py_FatalError() logs the function name #18819
  • bpo-39882: Add _Py_FatalErrorFormat() function #19157
  • 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 = <Date 2020-03-25.18:28:14.918>
    created_at = <Date 2020-03-06.22:54:10.367>
    labels = ['expert-C-API', '3.9']
    title = 'Py_FatalError(): log automatically the function name'
    updated_at = <Date 2020-03-25.18:28:14.918>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2020-03-25.18:28:14.918>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-03-25.18:28:14.918>
    closer = 'vstinner'
    components = ['C API']
    creation = <Date 2020-03-06.22:54:10.367>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39882
    keywords = ['patch']
    message_count = 3.0
    messages = ['363565', '363567', '365009']
    nosy_count = 1.0
    nosy_names = ['vstinner']
    pr_nums = ['18819', '19157']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue39882'
    versions = ['Python 3.9']

    @vstinner
    Copy link
    Member Author

    vstinner commented Mar 6, 2020

    Attached PR modify Py_FatalError() to log automatically the function name.

    @vstinner vstinner added 3.9 only security fixes topic-C-API labels Mar 6, 2020
    @vstinner
    Copy link
    Member Author

    vstinner commented Mar 6, 2020

    New changeset 9e5d30c by Victor Stinner in branch 'master':
    bpo-39882: Py_FatalError() logs the function name (GH-18819)
    9e5d30c

    @vstinner
    Copy link
    Member Author

    New changeset 87d3b9d by Victor Stinner in branch 'master':
    bpo-39882: Add _Py_FatalErrorFormat() function (GH-19157)
    87d3b9d

    @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.9 only security fixes topic-C-API
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant