Author terry.reedy
Recipients ned.deily, python-dev, serhiy.storchaka, terry.reedy
Date 2016-08-09.06:00:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1470722403.11.0.0284870030288.issue27380@psf.upfronthosting.co.za>
In-reply-to
Content
The Mac failure comes from this piece of code:

            if sys.platform == 'darwin':
                path = self.result[1]
                if path.startswith(('www', 'file:', 'http:', https:')):
                    pass
                else:
                    # Mac Safari insists on using the URI form for local files
                    self.result = list(self.result)
                    self.result[1] = "file://" + path

Before I do anything,
is the comment right about needing to add "file://" for Safari?
is Safari still the default and/or correct way to open a local file?

The code that opens the supplementary help file or url is elsewhere, but it could be changed if outdated on the Mac.
History
Date User Action Args
2016-08-09 06:00:03terry.reedysetrecipients: + terry.reedy, ned.deily, python-dev, serhiy.storchaka
2016-08-09 06:00:03terry.reedysetmessageid: <1470722403.11.0.0284870030288.issue27380@psf.upfronthosting.co.za>
2016-08-09 06:00:03terry.reedylinkissue27380 messages
2016-08-09 06:00:02terry.reedycreate