Author terry.reedy
Recipients eric.araujo, georg.brandl, orsenthil, terry.reedy
Date 2011-06-04.00:13:32
SpamBayes Score 1.83882e-05
Marked as misclassified No
Message-id <1307146413.9.0.840319332017.issue10799@psf.upfronthosting.co.za>
In-reply-to
Content
Upon further experimentation, I realize that I can only open in Firefox because I have it set as my default browser. It would otherwise be inaccessible because it is not in the _browser registry. It also appears that I cannot intentionally use Internet Explorer because it also in not registered (except under the full path names used as a backup).

>>> webbrowser._browsers
{'windows-default': [<class 'webbrowser.WindowsDefault'>, None], 'c:\\program files\\internet explorer\\iexplore.exe': [None, <webbrowser.BackgroundBrowser object at 0x01000ED0>]}

If I understand the Windows code quoted before, the Class Names in the table would be different (BackgroundBrowser) on Windows if it did work.

Related issues
#8232 webbrowser.open incomplete on Windows
#8936 webbrowser regression on windows
#12237 Document how to open non-default webbrowser
History
Date User Action Args
2011-06-04 00:13:33terry.reedysetrecipients: + terry.reedy, georg.brandl, orsenthil, eric.araujo
2011-06-04 00:13:33terry.reedysetmessageid: <1307146413.9.0.840319332017.issue10799@psf.upfronthosting.co.za>
2011-06-04 00:13:33terry.reedylinkissue10799 messages
2011-06-04 00:13:32terry.reedycreate