Theano/Theano — pull request #138 by delallea (2011-10-21 14:37:52+00:00)
Title: More explicit error message

Makes it more obvious to users what may be their mistake when they get a
TypeError after trying to index a shared variable.

I ran the test suite to make sure it didn't break anything.