Issue 32494: Use gdbm_count if possible - Python tracker

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz, corona10, pitrou, sam-s
Priority: normal Keywords: patch

Created on 2018-01-04 21:41 by sam-s, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 19569 closed ZackerySpytz, 2020-04-17 14:30
PR 19814 merged corona10, 2020-04-30 13:32
Messages (2)
msg309483 - (view) Author: sds (sam-s) Date: 2018-01-04 21:41
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.
msg367837 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2020-05-01 12:15
New changeset 8727664557cd44dcd00612ccba816942e8f885ab by Dong-hee Na in branch 'master':
bpo-32494: Use gdbm_count for dbm_length if possible (GH-19814)
https://github.com/python/cpython/commit/8727664557cd44dcd00612ccba816942e8f885ab