Mercurial > pytave
view .hgignore @ 408:f833e29b2c12
Simplify conversion where existing Python object argument expected (fixes issue #67)
* __py_struct_from_dict__.cc (F__py_isinstance__, F__py_struct_from_dict__):
Use pytave::pyobject_unwrap_object and simplify surrounding code.
* oct-py-types.cc (pytave::extract_py_scalar_map): Raise Octave errors instead
of throwing exceptions, reword error messages.
* @pyobject/pyobject.m: Add %!error tests for struct conversion failure.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Tue, 02 May 2017 10:06:14 -0700 |
parents | d18843ff4dfd |
children | 2011e0d2f926 |
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". (^|/).*\.pyc$ (^|/).*\.dvi$ (^|/).*\.pdf$ (^|/).*\.o$ (^|/).*\.oct$ (^|/).*\.octlink$ (^|/)octave-core$ (^|/).*\.tar\.gz$ (^|/).*\.html # some common files that the geometry package deals with # and are rarely meant to be actually committed (^|/).*\.png (^|/).*\.svg (^|/).*\.eps (^|/).*\.fig (^|/)m4 (^|/)aclocal\.m4$ (^|/).*\.in$ (^|/).*\.guess$ (^|/).*\.sub$ (^|/)Makefile (^|/)depcomp (^|/)missing (^|/)install-sh (^|/)libtool (^|/)ltmain.sh (^|/)stamp-h1 (^|/)config\.h$ (^|/)config\.log$ (^|/)config\.status$ (^|/)configure$ (^|/)autom4te\.cache($|/) (^|/)\.deps (^|/)\.libs (^|/)PKG_(ADD|DEL) (^|/)octave-workspace (^|/)fntests\.log$ (^|/).*\.cc-tst$ # e.g. doc/faq/OctaveFAQ.info # doc/interpreter/octave.info-4 ^doc/.*\.info(-\d)?$ ^doc/\w*/stamp-vti$ ^doc/\w*/stamp-vti$ ^doc/latex ^doc/html ^doc/.*\.db$ # Emacs tools create these (^|/)TAGS$ (^|/)semantic.cache$ # Other text editors often create these (^|/).*~$