changed asscalar to pass through scalars

https://github.com/numpy/numpy/issues/4701
Just plain old `except AttributeError:` will work fine, you don't make any use of `e`.