Correctly handle invalid method names when calling methods on P6 objects inheriting from Python