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 -- [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/BEV7LQOEA2MP27XFX2FE5DZO35ZEI6DC/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to