patx / pickledb

pickleDB is an open source key-value store using Python's json module.
https://patx.github.io/pickledb
BSD 3-Clause "New" or "Revised" License
925 stars 125 forks source link

A small change could make this lib python 2.3 compatible #6

Closed jeffp123 closed 10 years ago

jeffp123 commented 10 years ago

I noticed that the only dependency that is not Python 2.3 compatible is json. By importing simplejson as json, it works with python 2.3. I would like to suggest this as an option when loading the library.

I also noticed that the code hasn't been touched in two years, but for anyone searching for this: Just use simplejson.

patx commented 10 years ago

fixed in bitbucket repo https://bitbucket.org/patx/pickledb/commits/8c9fe33adcff0fc6e5df14a25313105f19996295

jeffp123 commented 10 years ago

Ah, nice.