Backport 1.8 3788

Backport #3795: `BUG: ufunc_at needs_api requires init to 0`.