[Python-Dev] webbrowser.py
Tim Peters
tim.one@home.com
Wed, 24 Jan 2001 14:54:47 -0500
Guys, while I like BROWSER, don't think it has anything to do with Windows!
Windows is not Unix; doesn't have PAGER or EDITOR either; and, in general,
use of envars is an abomination under Windows. The old webbrowser.py uses
the Windows-specific os.startfile(url) because that's the *right* way to do
it on Windows, wizard or not. And you would have to be a Windows wizard to
succeed in launching a browser under Windows in any other way anyway. You
may as well try to sell the notion that, on Unix, Python should maintain a
dict mapping file extensions to the user's preferred ways of opening such
files <0.9 wink>.