Theano/Theano — pull request #2020 by zploskey (2014-08-05 21:15:09+00:00)
Title: Close opened files

There were a few instances where files were opened but not closed. This was generating a ResourceWarning for an unclosed file. Wrapping these in `with` context closes these files automatically and eliminates the warnings.