- changed milestone to 1.7
Remove homebrewed SWIG code if possible
Issue #450
resolved
In dolfin/swig/typemaps/primitives.i
there are two comments
//-----------------------------------------------------------------------------
// A home brewed type check for checking integers
// Needed due to problems with PyInt_Check from python 2.6 and NumPy
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// Home brewed versions of the SWIG provided SWIG_AsVal(Type). These are needed
// as long as we need the PyInteger_Check. Whenever Python 2.6 is not supported
// we can scrap them.
//-----------------------------------------------------------------------------
about homebrewed wrappers needed in Python 2.6. As 2.7 is now required their removal could simplify the interface code, reduce generated wrapper code and be more robust for 64-bit PetscInt which is tricky to handle, see for instance 8e9ccab, #366, #377.
Comments (3)
-
-
- removed milestone
Removing milestone: 1.7 (automated comment)
-
- changed status to resolved
Will be resolved by dropping SWIG (#896).
- Log in to comment