Skip to content

Add context manager for the "try: ... except: pass" pattern #60010

@rhettinger

Description

@rhettinger
BPO 15806
Nosy @loewis, @warsaw, @rhettinger, @jcea, @ncoghlan, @pitrou, @ericvsmith, @giampaolo, @ezio-melotti, @alex, @cjerdonek
Superseder
  • bpo-19266: Rename contextlib.ignore to contextlib.suppress
  • 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 = 'https://github.com/ncoghlan'
    closed_at = <Date 2013-03-11.05:28:04.546>
    created_at = <Date 2012-08-29.05:15:14.779>
    labels = ['type-feature']
    title = 'Add context manager for the "try: ... except: pass" pattern'
    updated_at = <Date 2013-10-16.22:31:55.825>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2013-10-16.22:31:55.825>
    actor = 'belopolsky'
    assignee = 'ncoghlan'
    closed = True
    closed_date = <Date 2013-03-11.05:28:04.546>
    closer = 'rhettinger'
    components = []
    creation = <Date 2012-08-29.05:15:14.779>
    creator = 'rhettinger'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 15806
    keywords = []
    message_count = 15.0
    messages = ['169337', '169340', '169341', '169342', '169343', '169346', '169348', '169357', '169358', '169363', '169364', '183934', '183942', '195879', '195890']
    nosy_count = 14.0
    nosy_names = ['loewis', 'barry', 'rhettinger', 'jcea', 'ncoghlan', 'pitrou', 'eric.smith', 'giampaolo.rodola', 'ezio.melotti', 'alex', 'cvrebert', 'chris.jerdonek', 'python-dev', 'zaytsev']
    pr_nums = []
    priority = 'low'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = '19266'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue15806'
    versions = ['Python 3.4']

    Metadata

    Metadata

    Assignees

    Labels

    type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions