
7 Aug
2020
7 Aug
'20
11:24 a.m.
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.