[Python-ideas] Adding a safe alternative to pickle in the standard library

Chris Rebert pyideas at rebertia.com
Tue Feb 26 05:51:24 CET 2013


On Fri, Feb 22, 2013 at 11:08 AM, Bruce Leban <bruce at leapyear.org> wrote:
> To take this back to the ideas stage, one idea might be to integrate hmac
> into pickle. At a minimum, provide some sample code showing how to wrap an
> hmac around a pickled object.

This sounds very much like the `itsdangerous` library (which uses JSON
by default, but the serializer backend is pluggable):
http://pythonhosted.org/itsdangerous/

Cheers,
Chris



More information about the Python-ideas mailing list