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 <rep...@bugs.python.org>
<http://bugs.python.org/issue29644>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to