This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mariatta
Recipients Mariatta, PedanticHacker, doughellmann, jbmilam, ned.deily, nedbat, ronaldoussoren
Date 2016-10-06.03:49:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475725741.65.0.389910019371.issue24452@psf.upfronthosting.co.za>
In-reply-to
Content
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 :)
History
Date User Action Args
2016-10-06 03:49:01Mariattasetrecipients: + Mariatta, ronaldoussoren, nedbat, ned.deily, doughellmann, jbmilam, PedanticHacker
2016-10-06 03:49:01Mariattasetmessageid: <1475725741.65.0.389910019371.issue24452@psf.upfronthosting.co.za>
2016-10-06 03:49:01Mariattalinkissue24452 messages
2016-10-06 03:49:01Mariattacreate