Add exception logging function to syslog module

Open
#52,461 20 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
python

Research direction

Start by reviewing the attached logexception5.patch and the earlier patch versions, then inspect the syslog module and the proposed test changes. Done means the exception-logging function and its tests are agreed upon and incorporated, but the issue is in patch review with prior work already attached.

Written by the indexing model from the issue text.

Description

extension-modules type-feature
BPO 8214
Nosy @pitrou, @ericvsmith, @benjaminp, @merwok, @briancurtin
Files
  • logexception.diff: Implementation of first function, to log exception information.
  • logexception2.patch: Full implementation for Python 2.
  • logexception3.patch: Patch with changes Jack suggested.
  • logexception4.patch: Test fix suggested by Brian.
  • logexception5.patch: Test fix suggested by Bejnamin.
  • 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 2010-03-23.22:12:11.813>
    labels = ['extension-modules', 'type-feature']
    title = 'Add exception logging function to syslog module'
    updated_at = <Date 2019-03-15.23:56:07.284>
    user = 'https://github.com/ericvsmith'
    

    bugs.python.org fields:

    activity = <Date 2019-03-15.23:56:07.284>
    actor = 'BreamoreBoy'
    assignee = 'jafo'
    closed = False
    closed_date = None
    closer = None
    components = ['Extension Modules']
    creation = <Date 2010-03-23.22:12:11.813>
    creator = 'eric.smith'
    dependencies = []
    files = ['17089', '17159', '17174', '17177', '17179']
    hgrepos = []
    issue_num = 8214
    keywords = ['patch', 'needs review']
    message_count = 20.0
    messages = ['101605', '101668', '101681', '101682', '101683', '101685', '101686', '101687', '104211', '104693', '104746', '104754', '104755', '104756', '104757', '104759', '104761', '104762', '105181', '221669']
    nosy_count = 6.0
    nosy_names = ['jafo', 'pitrou', 'eric.smith', 'benjamin.peterson', 'eric.araujo', 'brian.curtin']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue8214'
    versions = ['Python 3.5']
    

    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.