[issue24452] Make webbrowser support Chrome on Mac OS X
Mariatta Wijaya
report at bugs.python.org
Wed Oct 5 23:49:01 EDT 2016
Mariatta Wijaya added the comment:
Well... I created a patch based on Ned's code :)
This now works in the default branch
Python 3.7.0a0 (default:f2204eaba685+, Oct 5 2016, 20:43:44)
[GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import webbrowser
>>> webbrowser.get("chrome")
<webbrowser.MacOSXOSAScript object at 0x10adc7398>
>>> webbrowser.open_new("https://www.python.org")
True
Please review :)
----------
keywords: +patch
nosy: +Mariatta
Added file: http://bugs.python.org/file44978/issue24452.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24452>
_______________________________________
More information about the Python-bugs-list
mailing list