* Valentin Haenel [2014-12-27]:
> * Nathaniel Smith [2014-12-13]:
> [snip]
> > Ah, so your question is about how to serialize dtypes.
> >
> > The simplest approach would be to use pickle and shove the resulting string
> > into your json. However, this is very dangerous if you need to process
> >
* Nathaniel Smith [2014-12-13]:
[snip]
> Ah, so your question is about how to serialize dtypes.
>
> The simplest approach would be to use pickle and shove the resulting string
> into your json. However, this is very dangerous if you need to process
> untrusted files, because if I can convince you
* Eelco Hoogendoorn [2014-12-13]:
> This is a general problem in trying to use JSON to send arbitrary python
> objects. Its not made for that purpose, JSON itself only supports a very
> limited grammar (only one sequence type for instance, as you noticed), so
> in general you will need to specify
Hi,
* Sebastian [2014-12-13]:
> I'll just comment on the creation of your dtype:
>
> > dt = [("
> You are creating a dtype with one field called '
> >>> dt = [(" >>> dty = np.dtype(dt)
> >>> dty.names
>
> ('
> What you may want are two fields with type '
> >>> dt = [(" >>> dty = np.dtype(('