Save/load like matlab?

Almar Klein almar.klein at gmail.com
Tue Aug 24 07:13:03 EDT 2010


On 24 August 2010 11:46, Mark Leander <mark.leander at topicbranch.net> wrote:

> Almar Klein <almar.klein <at> gmail.com> writes:
> > A year ago or so I designed a simple file format that could do that and
> is also
> > human readable (binary data is compressed and then base64 encoded). I use
> it
> > extensively to store experiment data for my research and also for
> configuration
> > files for two open source projects that I own:
> http://code.google.com/p/ssdf/
>
> That looks quite nice! Thank you for sharing!
>
> I see that at least in some case you use the generally unsafe eval() for
> parsing.
> For instance the following will consume CPU and memory for quite a while:
>
> >>> ssdf.loads(u'a = [0xffffffffffffffff**0xffffffffffffffff]')
>
>
I added an issue for this, will take a look at it. Thanks!
  Almar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100824/135cd694/attachment.html>


More information about the Python-list mailing list