goto? while?  yikes!

and long 'or' statement would be
```if not ((not __debug__ or len(result.shape) == 1)
              or isinstance(result, AttrDataset)):
```
?  note btw that I believe this changes a bit previous operation -- we would have not checked at all in case of non ```__debug__``` run before at all