The problem in this code lib.py ``` from json import dumps
def some_func(): # do something res = dumps(...) # do something ``` If I patch dumps like you propose lib doesn't see any change. Also, it's all hacks. I wish dump and load themselves could take parameters from somewhere else, and that was the standard behaviour. _______________________________________________ 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/BEV7LQOEA2MP27XFX2FE5DZO35ZEI6DC/ Code of Conduct: http://python.org/psf/codeofconduct/