[Python-checkins] cpython (merge 3.5 -> 3.6): Issue #24452: Make webbrowser support Chrome on Mac OS X (merge 3.5->3.6)

guido.van.rossum python-checkins at python.org
Thu Oct 13 14:23:00 EDT 2016


https://hg.python.org/cpython/rev/64a38f9aee21
changeset:   104470:64a38f9aee21
branch:      3.6
parent:      104467:86a1905ea28d
parent:      104469:bd0f502c5eea
user:        Guido van Rossum <guido at python.org>
date:        Thu Oct 13 11:22:52 2016 -0700
summary:
  Issue #24452: Make webbrowser support Chrome on Mac OS X (merge 3.5->3.6)

files:
  Lib/webbrowser.py |  1 +
  Misc/NEWS         |  2 ++
  2 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -600,6 +600,7 @@
     # (but we prefer using the OS X specific stuff)
     register("safari", None, MacOSXOSAScript('safari'), -1)
     register("firefox", None, MacOSXOSAScript('firefox'), -1)
+    register("chrome", None, MacOSXOSAScript('chrome'), -1)
     register("MacOSX", None, MacOSXOSAScript('default'), -1)
 
 
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -13,6 +13,8 @@
 Library
 -------
 
+- Issue #24452: Make webbrowser support Chrome on Mac OS X.
+
 - Issue #20766: Fix references leaked by pdb in the handling of SIGINT
   handlers.
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list