See: * https://github.com/scipy/scipy/issues/23450 * https://github.com/fedro4/specfunc Alternatively, make the homemade version better, getting inspiration from [mpmath implementation of hyp2f1](https://github.com/mpmath/mpmath/blob/92f61841bf00fe149705b9d842a63528e7ebf196/mpmath/functions/hypergeometric.py#L403)
See:
hyp2f1(a, b, c, z)implementation for complex arguments (a, b) scipy/scipy#23450Alternatively, make the homemade version better, getting inspiration from mpmath implementation of hyp2f1