Mercurial > pytave
view .hgignore @ 423:6b9de18b4bdd
Eliminate remaining custom exception handling in favor of Octave errors
* oct-py-error.cc, oct-py-error.h (pytave::error_python_exception): New function
to generate an Octave error from an active Python error condition, based on
pytave::fetch_exception_message.
* oct-py-eval.cc (pytave::py_call_function, pytave::py_run_string_safe): Use it.
* oct-py-types.cc (pytave::make_py_dict): Likewise.
* oct-py-util.cc (pytave::py_objstore): Likewise.
* pycall.cc (Fpycall): Remove exception handling logic.
* pyeval.cc (Fpyeval): Likewise.
* pyexec.cc (Fpyexec): Likewise.
* exceptions.cc, exceptions.h: Delete.
* Makefile.am (COMMON_SOURCE_FILES, PYTAVE_HEADER_FILES): Remove them.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Thu, 04 May 2017 21:15:07 -0700 |
parents | 2011e0d2f926 |
children |
line wrap: on
line source
syntax: regexp # The recurrent (^|/) idiom in the regexps below should be understood # to mean "at any directory" while the ^ idiom means "from the # project's top-level directory". # These directories and files are created by GNU autotools ^Makefile\.in$ ^aclocal\.m4$ ^autom4te\.cache($|/) ^build-aux($|/) ^config\.h\.in$ ^configure$ # This directory contains m4 files managed by GNU libtool, but also contains # some files maintained in the repository ^m4/(libtool|lt.+)\.m4$ # These files are created by running configure (^|/)Makefile$ (^|/)config\.h$ (^|/)config\.log$ (^|/)config\.status$ (^|/)libtool$ (^|/)stamp-h1$ # These files are normal build system artifacts (^|/).+\.cc-tst$ (^|/).+\.l?[ao]$ (^|/).+\.oct$ (^|/).+\.tar\.gz$ (^|/)PKG_(ADD|DEL)$ (^|/)\.deps($|/) (^|/)\.libs($|/) (^|/)fntests\.log$ (^|/)octave-workspace$ # This directory contains Doxygen generated documentation ^doc($|/)