Merge lp:~spud/spud/add_option_fix into lp:spud
Proposed by
Jon Hill
Status: | Needs review |
---|---|
Proposed branch: | lp:~spud/spud/add_option_fix |
Merge into: | lp:spud |
Diff against target: |
30 lines (+1/-4) 2 files modified
python/libspud.py.ctypes (+1/-1) src/spud.cpp (+0/-3) |
To merge this branch: | bzr merge lp:~spud/spud/add_option_fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Patrick Farrell | Pending | ||
Review via email:
|
Description of the change
Edited add_options routine as per patch in Bug #813431. This means a warning is no longer issued when an option is added via this routine.
To post a comment you must log in.
a) libspud.py.ctypes is the old ctypes python interface, which is deprecated. The new one is in libspud.c (as this one can be used within the python interface in diamond). Admittedly, it doesn't say that anywhere ...
b) I think that the C, C++, Fortran and Python bindings should all be consistent. You've only changed the Python binding. Shouldn't we change the C++ layer so that it doesn't generate the error code in the first place?