But couldn't you just write a simple helper function/class that handles
your usual workflow? Why does this deserve in the stdlib? (The stdlib does
very little logging of its own -- logging is up to the application.)
On Mon, Feb 24, 2020 at 2:24 AM Rémi Lapeyre
Every time I use subprocess.run and others I find myself writing boilerplate code to log program calls and their results.
Could we log those directly in subprocess.py so that we could just set a "subprocess" logger instead?
Rémi _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@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/S5MWG7... Code of Conduct: http://python.org/psf/codeofconduct/
-- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-c...