kennethreitz/tablib — pull request #47 by VanL (2012-01-06 00:15:39+00:00)
Title: Add detect function in _xls. Update yaml, csv, and tsv detection functio...

The new _xls module doesn't have a detect function. I added one that deals with filenames, open files, or a bytestream as an acceptable 'stream' argument. I also updated the detect functions for yaml, csv, and tsv so they didn't bomb out when provided with invalid input (like an .xls file).