Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b1a751b

Browse files
committed
Issue #24452: Make webbrowser support Chrome on Mac OS X.
1 parent 10e54ae commit b1a751b

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

Lib/webbrowser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@ def open(self, url, new=0, autoraise=True):
600600
# (but we prefer using the OS X specific stuff)
601601
register("safari", None, MacOSXOSAScript('safari'), -1)
602602
register("firefox", None, MacOSXOSAScript('firefox'), -1)
603+
register("chrome", None, MacOSXOSAScript('chrome'), -1)
603604
register("MacOSX", None, MacOSXOSAScript('default'), -1)
604605

605606

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ Core and Builtins
107107
Library
108108
-------
109109

110+
- Issue #24452: Make webbrowser support Chrome on Mac OS X.
111+
110112
- Issue #20766: Fix references leaked by pdb in the handling of SIGINT
111113
handlers.
112114

0 commit comments

Comments
 (0)