On Fri, 07 Aug 2020 08:54:37 -0000
"Kazantcev Andrey" <[email protected]>
wrote:

> Chris Angelico wrote:
> > Why do you want dump and load to take parameters from "somewhere
> > else"?   
> 
> Because developers of libraries don't think about configuring json.dump 
> method in mos of cases.

Then you should report a bug to them to give access to such
configuration, where that makes sense.

> I would like to have a mechanism that would allow tweaking the
> behaviour for the entire program.

That's an anti-pattern IMO.

Regards

Antoine.

_______________________________________________
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/5NG7VAVWYUEPPKVS7TOQ5PQROH6HLWNU/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to