Skip to content

Add a "no-op" (null) context manager to contextlib #54258

@hniksic

Description

@hniksic
mannequin
BPO 10049
Nosy @birkenfeld, @rhettinger, @ncoghlan, @pitrou, @vstinner, @giampaolo, @hniksic, @merwok, @bitdancer, @voidspace, @durban, @albertz, @Jesse-Bakker
PRs
  • bpo-10049: Add a "no-op" (null) context manager to contextlib #4464
  • Files
  • fl
  • nullcontext.patch
  • 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 2017-11-23.00:27:28.912>
    created_at = <Date 2010-10-08.11:13:44.343>
    labels = ['3.7', '3.8', 'type-feature', 'library']
    title = 'Add a "no-op" (null) context manager to contextlib'
    updated_at = <Date 2017-11-23.00:27:28.910>
    user = 'https://github.com/hniksic'

    bugs.python.org fields:

    activity = <Date 2017-11-23.00:27:28.910>
    actor = 'ncoghlan'
    assignee = 'ncoghlan'
    closed = True
    closed_date = <Date 2017-11-23.00:27:28.912>
    closer = 'ncoghlan'
    components = ['Library (Lib)']
    creation = <Date 2010-10-08.11:13:44.343>
    creator = 'hniksic'
    dependencies = []
    files = ['19158', '19176']
    hgrepos = []
    issue_num = 10049
    keywords = ['patch']
    message_count = 43.0
    messages = ['118181', '118183', '118184', '118185', '118186', '118187', '118189', '118190', '118193', '118194', '118195', '118196', '118200', '118274', '118406', '118409', '118448', '118450', '118453', '118599', '118616', '118626', '119514', '152909', '153046', '153049', '175656', '175662', '281177', '281180', '281195', '281200', '281215', '281234', '281264', '281556', '305951', '305952', '306001', '306002', '306266', '306770', '306771']
    nosy_count = 18.0
    nosy_names = ['georg.brandl', 'rhettinger', 'blais', 'ncoghlan', 'pitrou', 'vstinner', 'giampaolo.rodola', 'hniksic', 'eric.araujo', 'r.david.murray', 'michael.foord', 'daniel.urban', 'Albert.Zeyer', 'piotr.dobrogost', 'Alexander.Jones', 'DLitz', 'Martin Blais', 'jbakker']
    pr_nums = ['4464']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue10049'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of lifestdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions