BUG: avoid segmentation fault in `string_expandtabs_length_promoter` by riku-sakamoto · Pull Request #29368 · numpy/numpy

seberg

@riku-sakamoto

…gth.reduce`

Fixes the first item of numpy#28829. Use `Py_XINCREF` instead of `Py_INCREF` to safely handle the case where `op_dtypes[0]` is NULL

@riku-sakamoto