jaberg/Theano — comment on commit 2290d24ef5bba180108696be7d83c7db92c534a1
File: theano/tensor/basic.py line 547
By jaberg:

No, but I could guess: we depend on internal details, so interface
similarity doesn't cut it.

numpy.mmap for example would pass the isinstance test, but would be no
good for our c code.

On Fri, Nov 4, 2011 at 10:27 AM, Olivier Delalleau

wrote:
> Not related to your change, but: do you know why it tests that type is numpy.ndarray instead of isinstance(data, numpy.ndarray)?
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/jaberg/Theano/commit/2290d24ef5bba180108696be7d83c7db92c534a1#commitcomment-695680
>