spotify/luigi — pull request #549 by berkerpeksag (2014-12-03 09:49:25+00:00)
Title: Convert isinstance assertions to TypeErrors.

Using assert statements can cause subtle bugs when Python
interpreter invoked with the -O option..

See https://code.djangoproject.com/ticket/23924 for an example report.