The `TypeError` occurred due to invalid input is not obvious as per the code. Please see http://code.google.com/p/pyiso8601/source/browse/trunk/iso8601/iso8601.py#100. The error occurs while parsing '2012-10-'. I've also seen `KeyError` for some particular case but do not remember which one. Which is why I am resistant to catch specific exceptions. However, @dreid concern about not catching non-`Exception` objects is also valid. I could put an empty `except:` clause to catch any exception and raise `ValueError` if caught. What do you think?