On Wed, Apr 6, 2011 at 1:32 PM, Laurens Van Houtven <_...@lvh.cc> wrote: > On Wed, Apr 6, 2011 at 1:27 PM, Tim Allen <screwt...@froup.com> wrote: >> The difference between Pickle and SQLite is that a SQLite database has >> probably had some thought put into its schema, and is much less likely >> to accidentally scoop up random other objects by reference. Also, if >> your database *does* pick up some unwanted state, you have the option of >> tinkering with the database manually; something that's much more >> difficult to do with pickles. > > Right -- I'm giving plugins to the bot a SQLite database, it's up to them if > they use it. All state serialization is explicit. I'm hoping it's going to > be more sensible as a result.
For what it's worth, you might find this interesting: https://launchpad.net/eridanus It's an IRC bot implemented on Mantissa, which uses Axiom databases (SQLite under the hood) in order to store and persist service configuration as well as user data. -- mithrandi, i Ainil en-Balandor, a faer Ambar _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python