Skip to content

Replace contextmanager example and improve explanation #66568

@terryjreedy

Description

@terryjreedy
BPO 22374
Nosy @terryjreedy, @ncoghlan, @berkerpeksag, @vadmium, @serhiy-storchaka, @cowlinator
Superseder
  • bpo-33468: Add try-finally contextlib.contextmanager example
  • Files
  • issue22374.diff
  • 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 2018-07-26.05:37:12.142>
    created_at = <Date 2014-09-09.20:58:12.291>
    labels = ['type-feature', '3.7', 'docs']
    title = 'Replace contextmanager example and improve explanation'
    updated_at = <Date 2018-07-26.05:37:12.141>
    user = 'https://github.com/terryjreedy'

    bugs.python.org fields:

    activity = <Date 2018-07-26.05:37:12.141>
    actor = 'berker.peksag'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2018-07-26.05:37:12.142>
    closer = 'berker.peksag'
    components = ['Documentation']
    creation = <Date 2014-09-09.20:58:12.291>
    creator = 'terry.reedy'
    dependencies = []
    files = ['43095']
    hgrepos = []
    issue_num = 22374
    keywords = ['patch']
    message_count = 6.0
    messages = ['226661', '226686', '266862', '266918', '311203', '322397']
    nosy_count = 7.0
    nosy_names = ['terry.reedy', 'ncoghlan', 'docs@python', 'berker.peksag', 'martin.panter', 'serhiy.storchaka', 'cowlinator']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '33468'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue22374'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifedocsDocumentation in the Doc dirtype-featureA feature request or enhancement

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions