[issue10738] webbrowser.py bug with Opera on Linux

Terry J. Reedy report at bugs.python.org
Fri Dec 24 22:21:34 CET 2010


Terry J. Reedy <tjreedy at udel.edu> added the comment:

According to the linked doc, Opera has '-noraise' but not '-raise' as a command line option (to not raise window when receiving remote commands).

It does have '"raise()"' (with quotes and parens, but not "noraise()") as a remote command following the '-remote' command line option to be sent to another Opera window. I suspect this as the reason for the apparently invalid 
raise_opts = ["", "-raise"]

>From the usage of raise_opts in UnixBrowser._invoke, which concatenates one of the entries, if not "", to self.name, I am pretty sure the command line form is what is wanted and that the proposed
raise_opts = ["-noraise", ""]
is correct.

Attached patch also removes a few blank lines to make entries for different browsers consistent.

Georg, if you agree, I will commit the change and backport.

----------
keywords: +patch
nosy: +terry.reedy
stage:  -> commit review
versions: +Python 3.1, Python 3.2
Added file: http://bugs.python.org/file20158/zweb.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10738>
_______________________________________


More information about the Python-bugs-list mailing list