https://github.com/kwwette/swiglal
Revision 16f97142c97ac53c55ddb54c1983d5090016febe authored by Karl Wette on 18 June 2015, 02:32:30 UTC, committed by Karl Wette on 19 June 2015, 00:11:17 UTC
- Python comparison operators must return Py_NotImplemented if they cannot
  compare two objects, rather than raising an error, as SWIG does by default
- Use typemaps and a dummy argument to hack SWIG to return Py_NotImplemented
  in "cleanup" code, bypassing normal error return path
- Refs #2215
1 parent c4a327d
History
Tip revision: 16f97142c97ac53c55ddb54c1983d5090016febe authored by Karl Wette on 18 June 2015, 02:32:30 UTC
SWIG: fix return values for Python comparison operators
Tip revision: 16f9714
File Mode Size
swig
COPYING -rw-r--r-- 17.7 KB

back to top