[issue35593] Register standard browser: Chrome

2019-01-09 Thread Steve Dower


Steve Dower  added the comment:

The "8232_1.patch" patch on #8232 implements a registry-based lookup (including 
for Chrome) that will be far more reliable than the current process's 
environment. So it's not a direct duplicate, but the proposed fix will resolve 
this issue as well.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35593] Register standard browser: Chrome

2019-01-09 Thread Steve Dower


Steve Dower  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.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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35593] Register standard browser: Chrome

2018-12-28 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
pull_requests:  -10652

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35593] Register standard browser: Chrome

2018-12-28 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

As near as I can tell, this is *not* a duplicate of #8232.

--
nosy: +terry.reedy
stage: patch review -> 

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35593] Register standard browser: Chrome

2018-12-28 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch, patch
pull_requests: +10651, 10652
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35593] Register standard browser: Chrome

2018-12-28 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
pull_requests: +10651
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35593] Register standard browser: Chrome

2018-12-27 Thread Emmanuel Arias


New submission from Emmanuel Arias :

Hi!

This issue is open to discuss the PR: 
https://github.com/python/cpython/pull/11327

This PR propose add "chrome" on webbrowser.register_standard_browsers for 
windows

IMO this is a reasonable new feature simply because Chrome is commonly used.

--
components: Library (Lib)
messages: 332586
nosy: eamanu
priority: normal
severity: normal
status: open
title: Register standard browser: Chrome
type: behavior
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com