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 <[email protected]> wrote: > On Sat, Jul 11, 2020 at 4:24 PM Christopher Barker <[email protected]> > 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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/5KCG37PIBXP7JZH2V2TVHAOXF24TO7VV/ Code of Conduct: http://python.org/psf/codeofconduct/
