elasticsearch/elasticsearch-py — pull request #41 by akx (2014-01-22 19:49:53+00:00)
Title: Be more informative when unable to JSON serialize

Instead of raising a bare TypeError, let the user know where it went wrong.