Take into account auxiliar arguments when looking for the python callback
Submitted by Tomeu Vizoso
Link to original bug (#652115)
Description
This patch lacks tests, we should take one of the callback test cases and combine it with one of the array test cases.