7 Jun
2000
7 Jun
'00
11:30 a.m.
On Fri, 26 May 2000 15:14:56 +0200, Martijn Pieters <mj@digicool.com> wrote:
Shame there's no "safe pickle option" that allows only numbers, strings, lists, tuples and dictionaries.
There is actually. It's called marshal:
http://www.python.org/doc/current/lib/module-marshal.html
which supports just that list of types, plus code objects.
Or look at http://www.zope.org/Members/htrd/howto/MiniPickle if you need: * Recusive data structures * Compatability with the next version of python Toby Dickenson tdickenson@geminidataloggers.com