Alternatives for pickle?

Irmen de Jong irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Mon Oct 11 17:28:50 CEST 2004


Antoon Pardon wrote:
> So how do you serialize data in python, when you want
> a somewhat secure mechanisme. Preferably where a user
> can make a puzzle file by hand in a text editor.

There's a YAML module for Python, although if I recall
correctly this module also suffers from security issues.

You could try Gnosis utils xml pickling or the xml marshaler
from the pyxml package. They're slow, but safe.

--Irmen




More information about the Python-list mailing list