Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add sqlite3 as another possible backing store for the dbm module #100414

Closed
Assignees
erlend-aasland
Labels
@rhettinger

Description

@rhettinger

Right now we supportndbm andgnu.dbm which might or might not be part of a given build. The fallback is the super slowdumbdbm. Not the sqlite3 is part of the standard build, we can do better.

The module docstring says:

Future versions may change the order in which implementations are
tested for existence, and add interfaces to other dbm-like
implementations.

The future is now. Let's provide a fast, stable, robust, always available alternative.

This can be done will pure python calls to the existingsqlite3 module, or there can be a C extension that calls the Sqlite3 C API directly.

This would automatically be available to theshelve module, giving us a high quality, persistent key-value store.

Linked PRs

Metadata

Metadata

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp