Note: I removed this unconditional `asanyarray` since it seemed useless; by this time, `other` either has a `shape` or has been `asanyarray`'d.