[Python-Dev] webbrowser.py
Tim Peters
tim.one@home.com
Wed, 24 Jan 2001 14:56:32 -0500
>> The "webbrowser" module should prefer to take the setting from the
>> registry on windows.
> Why ? That's a lot harder to change, and not settable per
> 'shell'/'thread'/'process'.
A Windows user has a legitimate expectation that *every* time an .html file
is opened, it will come up in their browser of choice. That choice is made
via the registry, and this is how *all* apps work under Windows. Ditto for
.htm files (and that may be a different browser than is used for .html
files, but again the user has set up their registry to do what *they* want
done with it). It's not supposed to be easy to change; it is supposed to be
consistent. Using a different browser per shell/thread/process is a foreign
concept; it's also a useless concept on Windows <0.5 wink>.