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

Document context manager support for shelf objects #61242

Closed
berkerpeksag opened this issue Jan 26, 2013 · 3 comments
Closed

Document context manager support for shelf objects #61242

berkerpeksag opened this issue Jan 26, 2013 · 3 comments
Assignees
Labels
docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@berkerpeksag
Copy link
Member

BPO 17040
Nosy @ezio-melotti, @asvetlov, @berkerpeksag
Files
  • shelve-context-manager-doc.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 = 'https://github.com/ezio-melotti'
    closed_at = <Date 2013-02-01.03:04:29.685>
    created_at = <Date 2013-01-26.13:26:50.741>
    labels = ['type-feature', 'docs']
    title = 'Document context manager support for shelf objects'
    updated_at = <Date 2013-02-01.03:04:29.681>
    user = 'https://github.com/berkerpeksag'

    bugs.python.org fields:

    activity = <Date 2013-02-01.03:04:29.681>
    actor = 'ezio.melotti'
    assignee = 'ezio.melotti'
    closed = True
    closed_date = <Date 2013-02-01.03:04:29.685>
    closer = 'ezio.melotti'
    components = ['Documentation']
    creation = <Date 2013-01-26.13:26:50.741>
    creator = 'berker.peksag'
    dependencies = []
    files = ['28843']
    hgrepos = []
    issue_num = 17040
    keywords = ['patch']
    message_count = 3.0
    messages = ['180667', '181056', '181057']
    nosy_count = 5.0
    nosy_names = ['ezio.melotti', 'asvetlov', 'docs@python', 'python-dev', 'berker.peksag']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue17040'
    versions = ['Python 3.4']

    @berkerpeksag
    Copy link
    Member Author

    Context manager support for shelf objects was added in bpo-13896, but not documented.

    @berkerpeksag berkerpeksag added the docs Documentation in the Doc dir label Jan 26, 2013
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Feb 1, 2013

    New changeset 935a286b8066 by Ezio Melotti in branch 'default':
    bpo-17040: document that shelve.open() and the Shelf object can be used as context managers. Initial patch by Berker Peksag.
    http://hg.python.org/cpython/rev/935a286b8066

    @ezio-melotti
    Copy link
    Member

    Fixed, thanks for the report and the patch!

    @ezio-melotti ezio-melotti added the type-feature A feature request or enhancement label Feb 1, 2013
    @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
    docs Documentation in the Doc dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants