[Python] Fix implicit_conv tuple handling regression
Introduced in SWIG 4.0.0. Fixes #1553, reported by Alexandre Duret-Lutz.
This commit is contained in:
parent
87695dacb1
commit
c864546b4a
2 changed files with 6 additions and 1 deletions
|
|
@ -7,6 +7,11 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
|
||||||
Version 4.0.1 (in progress)
|
Version 4.0.1 (in progress)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
2019-06-03: olly
|
||||||
|
[Python] Fix regression in implicit_conv handling of tuples,
|
||||||
|
introduced in SWIG 4.0.0. Fixes #1553, reported by Alexandre
|
||||||
|
Duret-Lutz.
|
||||||
|
|
||||||
2019-05-24: wsfulton
|
2019-05-24: wsfulton
|
||||||
[Octave] Fix detection of Octave on MacOS.
|
[Octave] Fix detection of Octave on MacOS.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -184,7 +184,7 @@ SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssi
|
||||||
}
|
}
|
||||||
|
|
||||||
/* A functor is a function object with one single object argument */
|
/* A functor is a function object with one single object argument */
|
||||||
#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, (char *)"O", obj);
|
#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Helper for static pointer initialization for both C and C++ code, for example
|
Helper for static pointer initialization for both C and C++ code, for example
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue