file to display the error messages. This trick didn't always work, and a
better solution has been put in place where error messages are sent to the
Messages window if the Python console doesn't exist
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@93503 936e1b1b-40f2-da11-902a-00137254ae57
exceptions in the current console associated with the python interpreter
(either the Python console if open, or the Messages window, unless these have
been overriden). Helps debugging scripts
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@93489 936e1b1b-40f2-da11-902a-00137254ae57
associated with the python interpreter will also display results of print to
that console.
In particular, this fixes the case where a filter set for an action is in
fact raising an exception, which would be displayed in the python console if
it exists, and would not be displayed otherwise. If the python console does
not exist, we fall back on the Messages window, so that such error messages
and exceptions and filters are properly displayed for the user, which helps
debugging
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@93488 936e1b1b-40f2-da11-902a-00137254ae57
should only be displayed in that case). Fixes issue where the prompt is
displayed in the Messages window (see the AWS integration)
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@93430 936e1b1b-40f2-da11-902a-00137254ae57
is consistent with what is done for the .xml files. This way it is
possible to load Python file in non standard location as pointed by
the GPS_CUSTOM_PATH variable.
Reorder with clauses.
Minor reformatting.
Part of work for E923-010.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@93413 936e1b1b-40f2-da11-902a-00137254ae57
"new-style" classes of Python (aka objects deriving from the object class)
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@92639 936e1b1b-40f2-da11-902a-00137254ae57
responsability of each language to associate a widget and a class instance
to avoid memory leaks and storage_errors
Fixes memory leaks where some python objects were never freed, in particular
class instances
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@92420 936e1b1b-40f2-da11-902a-00137254ae57
if 1:
pass
else: <return>
We used to stop with an exception. Reported in D902-011
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@91625 936e1b1b-40f2-da11-902a-00137254ae57
qualified name of the method so that we can get the documentation properly
from the python shell (otherwise we do not have access to the name of the
class.
git-svn-id: svn+ssh://svn.eu/Dev/importfromcvs/trunk@91617 936e1b1b-40f2-da11-902a-00137254ae57