Terry J. Reedy <tjre...@udel.edu> added the comment:

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

----------
components: +Documentation
title: Improve webbrowser.open doc (and, someday, behavior?) -> Improve 
webbrowser (.open) doc and behavior
type:  -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10799>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to