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

Use gdbm_count if possible #76675

Closed
sam-s mannequin opened this issue Jan 4, 2018 · 2 comments
Closed

Use gdbm_count if possible #76675

sam-s mannequin opened this issue Jan 4, 2018 · 2 comments
Labels
3.9 only security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@sam-s
Copy link
Mannequin

sam-s mannequin commented Jan 4, 2018

BPO 32494
Nosy @pitrou, @corona10, @sam-s, @ZackerySpytz
PRs
  • bpo-32494: Add gdbm.count() #19569
  • bpo-32494: Use gdbm_count for dbm_length if possible #19814
  • 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 2020-05-01.12:15:54.982>
    created_at = <Date 2018-01-04.21:41:33.758>
    labels = ['type-feature', 'library', '3.9']
    title = 'Use gdbm_count if possible'
    updated_at = <Date 2020-05-01.12:15:54.982>
    user = 'https://github.com/sam-s'

    bugs.python.org fields:

    activity = <Date 2020-05-01.12:15:54.982>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-05-01.12:15:54.982>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2018-01-04.21:41:33.758>
    creator = 'sam-s'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32494
    keywords = ['patch']
    message_count = 2.0
    messages = ['309483', '367837']
    nosy_count = 4.0
    nosy_names = ['pitrou', 'corona10', 'sam-s', 'ZackerySpytz']
    pr_nums = ['19569', '19814']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue32494'
    versions = ['Python 3.9']

    @sam-s
    Copy link
    Mannequin Author

    sam-s mannequin commented Jan 4, 2018

    gdbm offers a function to quickly find number of records: gdbm_count()
    http://www.gnu.org/software/gdbm/manual/html_node/Count.html
    It would be nice to be able to call it.

    @sam-s sam-s mannequin added 3.7 (EOL) end of life 3.8 (EOL) end of life stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Jan 4, 2018
    @ZackerySpytz ZackerySpytz mannequin added 3.9 only security fixes and removed 3.7 (EOL) end of life 3.8 (EOL) end of life labels Apr 17, 2020
    @corona10 corona10 changed the title interface to gdbm_count Use gdbm_count if possible Apr 30, 2020
    @pitrou
    Copy link
    Member

    pitrou commented May 1, 2020

    New changeset 8727664 by Dong-hee Na in branch 'master':
    bpo-32494: Use gdbm_count for dbm_length if possible (GH-19814)
    8727664

    @pitrou pitrou closed this as completed May 1, 2020
    @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
    3.9 only security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant