[issue33927] Allow json.tool to have identical infile and outfile

Rémi Lapeyre report at bugs.python.org
Fri Jun 29 14:45:49 EDT 2018


Rémi Lapeyre <remi.lapeyre at henki.fr> added the comment:

Hi Pablo, I added two tests to confirm that file descriptors do not link anymore.

The tests are rather ugly but I'm not sure if it's possible to do better.

Is this patch ok for you?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33927>
_______________________________________


More information about the Python-bugs-list mailing list