[issue29644] Importing webbrowser outputs a message on stderr
Nick Coghlan
report at bugs.python.org
Sat Feb 25 02:56:53 EST 2017
Nick Coghlan added the comment:
I considered that problem of "subprocess invocation as a side-effect of import", but in this case the output is needed by the immediately following "register_X_browsers()" call, as it affects how those browsers get inserted into webbrowser._tryorder.
That means there isn't any obvious way to delay it without a fairly significant refactoring of how the module works :(
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29644>
_______________________________________
More information about the Python-bugs-list
mailing list