Theano/Theano — pull request #413 by lamblin (2012-02-02 14:16:42+00:00)
Title: In filter, raise TypeError or ValueError.

type.is_valid_value relies on filter() raising either TypeError
or ValueError for invalid values, not AssertionError.