JSON serialization used in many different libraries without the ability for configuration (Example https://github.com/aio-libs/aioredis/blob/8a207609b7f8a33e74c7c8130d97186e78cc0052/aioredis/commands/pubsub.py#L18). Propose to add something like the context in the decimal module, wIch will contain all global configs for dump and load functions.
Thanks! _______________________________________________ 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/FHQ3OL7TPMXHNFH3W6UKLTUQWNBBXHTJ/ Code of Conduct: http://python.org/psf/codeofconduct/