AFAIU, jsonpickle (and fill, cloud pickle,) will still execute arbitray python (and ctypes) code.
Isn't pickle faster than C JSON? Would it be feasible to just NOP callables when safe=True? Or would that be pointless? JSON5 is great but still doesn't handle e.g. complex fractions On Sat, Jul 11, 2020, 4:43 PM David Mertz <me...@gnosis.cx> wrote: > On Sat, Jul 11, 2020 at 4:24 PM Christopher Barker <python...@gmail.com> > wrote: > >> NOTE: I've wanted for ages to make a "PYSON" format / module for when >> JSON is not quite enough. e.g. distinction between lists and tuples, dict >> keys that aren't strings .... >> > > https://github.com/jsonpickle/jsonpickle > > You're not the first one. > > -- > The dead increasingly dominate and strangle both the living and the > not-yet born. Vampiric capital and undead corporate persons abuse > the lives and control the thoughts of homo faber. Ideas, once born, > become abortifacients against new conceptions. >
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/5KCG37PIBXP7JZH2V2TVHAOXF24TO7VV/ Code of Conduct: http://python.org/psf/codeofconduct/