You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/jackjansen'closed_at=<Date2003-06-28.20:30:48.000>created_at=<Date2003-06-19.21:53:27.000>labels= ['OS-mac']
title='Need to register PythonLauncher as handler for .py'updated_at=<Date2003-06-28.20:30:48.000>user='https://github.com/jackjansen'
We still need a way to register PythonLauncher as the
handler for .py, pyw and .pyc documents. PythonLauncher
itself could do this easily, but that requires people to run
PythonLauncher at least once. Or we would have to
arrange for the installer to do it, or (at the very least) the
IDE.
The latter is difficult because we don't have access to the
Launch Services API from Python, yet.
Turns out there isn't an API for setting the handler, at least not a
public one. But PythonLauncher now does test that it is the
current handler, and shows a (supressible) warning dialog if it
isn't.
I hope the magic of the installer, combined with the fact that
PythonLancher advertises itself as being able to handle Python
documents, will do the trick. I'm leaving this report open until
that has been confirmed, though.
Pascal Oberndoerfer tested the new installer on a fresh machine,
and everything appears to be okay. By default the IDE opens
python scripts, and PythonLauncher is the second choice. When
PythonLauncher is run it will also show a (suppressible) warning
if it isn't the current handler. That's good enough for me.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: