Mind that shelve, by utilizing pickle, is susceptible for arbitrary code execution when loading untrusted data.
Depending on the use case it might be better to just use the dbm module directly.
Depending on the use case it might be better to just use the dbm module directly.
No comments yet.