~spud/spud/trunk

  • Committer: Cian Wilson
  • Date: 2017-03-03 05:40:30 UTC
  • mfrom: (538.1.1 pythonnewkeywarning)
  • Revision ID: cwilson@ldeo.columbia.edu-20170303054030-nd0bkj41c54knnun
This merge implements a fix for exception handling in set_option through the python interface - specifically handling SpudNewKeyWarnings.

Previously it would raise an exception but not return the right state (NULL) for it to be caught. Now SpudNewKeyWarning can be caught in python.

Additionally it was not possible to set a new option with type double through python. This appears to be because the PyArg_Parse function is broken (and its use discouraged in the documentation). Switching this to PyFloat_AS_DOUBLE, which works.

Modifying the python tests to reflect these changes.

Also tidying up messages associated with python exceptions.
Filename Latest Rev Last Changed Committer Comment Size
..
bin 105 16 years ago pfarrell Add a spud-preprocess command (currently it just Diff
debian 15 16 years ago dham Moved the debian directory up one. Don't expect th Diff
diamond 2 16 years ago dham Added top level directories Diff
doc 2 16 years ago dham Added top level directories Diff
dxdiff 451.1.9 13 years ago Fraser Waters Renamed xmldiff to dxdiff (Diamond Xml diff). Adde Diff
examples 244 16 years ago dham Schema for ballistics example Diff
include 3 16 years ago dham C++ and Fortran source and headers added Diff
python 303 15 years ago pfarrell Some more python binding malarkey Diff
schema 2 16 years ago dham Added top level directories Diff
src 2 16 years ago dham Added top level directories Diff
aclocal.m4 511 12 years ago Patrick Farrell Take the libtool raw files from Fedora 15, to upda 296 KB Diff Download File
AUTHORS 410.4.11 13 years ago Adam Candy Merge in of trunk. 582 bytes Diff Download File
config.guess 519 12 years ago Patrick Farrell Merge the diamond-setup branch. Thanks to Cian for 43.8 KB Diff Download File
config.sub 519 12 years ago Patrick Farrell Merge the diamond-setup branch. Thanks to Cian for 33.6 KB Diff Download File
File configure 514 12 years ago Tim Greaves Fix purely in build system addressing bug lp:88888 803 KB Diff Download File
configure.in 514 12 years ago Tim Greaves Fix purely in build system addressing bug lp:88888 8.4 KB Diff Download File
COPYING 249 16 years ago dham Trivial line wrapping change 1.6 KB Diff Download File
install-sh 511 12 years ago Patrick Farrell Take the libtool raw files from Fedora 15, to upda 13.3 KB Diff Download File
LGPL-2.1 239 16 years ago dham Clean-up of copyright files 25.9 KB Diff Download File
ltmain.sh 511 12 years ago Patrick Farrell Take the libtool raw files from Fedora 15, to upda 276 KB Diff Download File
Makefile.in 537.1.1 8 years ago Tim Greaves Updating the Debian build system to dh-python from 4.3 KB Diff Download File
README 248 16 years ago dham Added example of spud usage. 143 bytes Diff Download File