incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tristan Seligmann <mithra...@mithrandi.net>
Subject Re: Storing (python) objects
Date Fri, 23 Sep 2011 14:48:09 GMT
On Fri, Sep 23, 2011 at 1:09 AM, Alexis Lê-Quôc <alq@datadoghq.com> wrote:
> For data accessed through a single path, I use the same trick: pickle, bz2
> and insert.

Note that unpickling a pickle in Python involves a) arbitrary code
execution, and b) relies on your code being the same (or close enough)
to what it was when the pickle was created, so it is generally a very
bad choice for persistent data serialization.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar

Mime
View raw message