I have the following in C++:

void doSomething(int value);
void doSomething(bool value);

When I run doSometing(True) in Python, it always calls the "void(int value)" C++ function instead of the expected "void doSomething(bool value)".

I know this has already been discussed, but I was wondering if it has been corrected or if there was a workaround or some option to set in SWIG.

I came across this message that has been posted some time ago: http://swig.10945.n7.nabble.com/python-and-int-bool-function-overloads-td11790.html

William's answer led me to think it could have been corrected in the 2.0 version of SWIG, but it doesn't seem to be the case.

Any thought?