3 ms·
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
by Dunedan 2y ago
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.