[Python-Dev] Re: webbrowser.py
phd at mail2.phd.pp.ru
Thu Mar 24 14:30:35 CET 2005
On Wed, Mar 23, 2005 at 09:29:30PM +0300, Oleg Broytmann wrote:
> I also added elinks support - currently it is very similar to links,
> but I am going to extend its remote capabilities. (Yes, that small
> text-mode broswer supports remoting, windows and tabs! Who'd think?!.)
> Also I'm going to add "new-tab" support similar to "new-window" for
> Mozilla/Firefox and elinks.
I've reworked the patch once more. I moved some common functionality
into the UnixBrowser class and added two new features - Elinks launcher
class (elinks supports remote commands in a manner very similar to
Mozilla) and new-tab functionality for browsers that support tabbed
browsing (Mozilla and elinks); a user can now run "webbrowser -t URL" to
open the URL a new tab. All classes in the module are now new-style
classes (except for the Error class).
All .open() methods accept "new" parameter: 0 - open the url in the
same window, 1 - open in a new window (0 and 1 codes works as before),
and new code 2 - open in a new tab if possible.
These are probably the last features I wanted to add to the module.
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-Dev