Skip to content

shelve is a bad bet #6

@iabraham

Description

@iabraham

Continuing from here it seems like the shelve module is super brittle.

brew install gdbm does install the module to homebrew Cellar but it will take a lot more work to make that work with Anaconda environments.

The most repeated solution on Stackoverflow seems to be that one should look into more robust and scalable alternatives like sqlite3 because those are likely to be used in large databases.

Of course this means giving up on Python's expressiveness and adding another language into the mix, but this seems to be the path of least resistance adopted by most people encountering the issues we are encountering.

Of course the alternative is to say **** all non-Linuxes ( … which I don't mind).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions