Ronald Oussoren added the comment:
The attached patch removes the code that checks if Python Launcher is the
default application for opening python files.
--
Added file: http://bugs.python.org/file31108/issue-5262.txt
___
Python tracker
Ezio Melotti added the comment:
FWIW more than once I tried to open a .py file on Windows just to see a black
box flashing by and promptly disappear. I agree that opening the file in an
editor (e.g. IDLE) is a better option, but I realize some users might prefer to
launch a script when they
Changes by Ronald Oussoren ronaldousso...@mac.com:
Removed file: http://bugs.python.org/file18266/smime.p7s
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5262
___
Changes by Ronald Oussoren ronaldousso...@mac.com:
--
priority: normal - low
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5262
___
Ronald Oussoren added the comment:
I thinking about closing this issue, but need to do some more research before
doing so. In particular, I need to check the behavior of double clicking on
python files on Windows and the main Linux desktops. IIRC double clicking a .py
file on Windows will
Changes by Ronald Oussoren ronaldousso...@mac.com:
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5262
___
___
Python-bugs-list
Ronald Oussoren ronaldousso...@mac.com added the comment:
Kevin: what's your opinion on changing PythonLauncher to check if it is the
default action for opening python files and warning about that?
What about refusing to run when Python Launcher is the default action for
python files?
Users
Kevin Walzer wordt...@users.sourceforge.net added the comment:
Ronald,
I'd vote for warning if it's the default action.
Would your other proposed change require users to set PythonLauncher as the
opening app for each Python file, or would there be a way to manually set it as
the default
Ronald Oussoren ronaldousso...@mac.com added the comment:
Would your other proposed change require users to set PythonLauncher as the
opening app for each Python file, or would there be a way to manually set it
as the default from Finder or elsewhere?
I would no longer be possible to set
Ronald Oussoren ronaldousso...@mac.com added the comment:
I propose to at least change the code in pythonlauncher to warn if it is the
default association for python files, that is to reverse the test that it
currently does.
That way users can still set pythonlauncher as the launcher for a
Nir Soffer nir...@gmail.com added the comment:
I also think it should be removed. Opening a file should run it only if it
is executable.
--
nosy: +nirs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5262
Ronald Oussoren ronaldousso...@mac.com added the comment:
At the very least PythonLauncher should not be the default for opening
python files, and should actively warn against being the default
(basicly reversing the current default).
When PythonLauncher is the default application for .py
Kevin Walzer wordt...@users.sourceforge.net added the comment:
I disagree that this is a bad idea--it's helpful to be able to double-
click a GUI script and launch it automatically. I realize one can just
fire up Terminal and go python myscript.py, but I missed this
functionality when it was
New submission from Ronald Oussoren ronaldousso...@mac.com:
The Mac port of Python contains a binary named PythonLauncher which
can be used as the association of .py and .pyw files. This program
will launch the script (either in a Terminal window or without a
window).
In hindsight adding
14 matches
Mail list logo