scikit-learn/scikit-learn — pull request #1344 by mattilyra (2012-11-08 18:09:56+00:00)
Title: CountVectorizer decode open file pointer fix

Fixed an issue where CountVectorizer.decode leaves file pointers open after reading the contents of the file. This produces unpredictable behaviour as closing the file pointer is left to the implementation of the python interpreter.