[issue27380] IDLE: add base Query dialog with ttk widgets
Terry J. Reedy
report at bugs.python.org
Tue Aug 9 02:00:03 EDT 2016
Terry J. Reedy added the comment:
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.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27380>
_______________________________________
More information about the Python-bugs-list
mailing list