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 <rep...@bugs.python.org> <http://bugs.python.org/issue24452> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com