Steve Dower <steve.do...@python.org> added the comment:

The patch won't work on my machine - "chrome[.exe]" is not on my PATH:

>>> import shutil
>>> shutil.which("chrome")
>>> import webbrowser
>>> webbrowser.register("chrome", None, webbrowser.BackgroundBrowser("chrome"))
>>> webbrowser.get("chrome")
<webbrowser.BackgroundBrowser object at 0x00000252203B40B8>
>>> webbrowser.get("chrome").open("https://stevedower.id.au/";)
False

Perhaps this also requires an update to shutil.which() on Windows to inspect 
HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths?

----------
nosy: +steve.dower

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35593>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to