This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author andig2
Recipients andig2
Date 2015-04-14.10:50:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429008636.82.0.352857750089.issue23945@psf.upfronthosting.co.za>
In-reply-to
Content
Looking further in webbrowser.py, FF uses GenericBrowser:

class GenericBrowser(BaseBrowser):
    """Class for all browsers started with a command
       and without remote functionality."""

   ...

    def open(self, url, new=0, autoraise=True):
        cmdline = [self.name] + [arg.replace("%s", url)
                                 for arg in self.args]
        try:
            if sys.platform[:3] == 'win':
                p = subprocess.Popen(cmdline)
            else:
                p = subprocess.Popen(cmdline, close_fds=True)
            return not p.wait()

If FF is already open, Popen.wait() returns TRUE for FF but FALSE for IE. This leads to fallthrough for FF and then calling open for IE.
History
Date User Action Args
2015-04-14 10:50:36andig2setrecipients: + andig2
2015-04-14 10:50:36andig2setmessageid: <1429008636.82.0.352857750089.issue23945@psf.upfronthosting.co.za>
2015-04-14 10:50:36andig2linkissue23945 messages
2015-04-14 10:50:36andig2create