Raise ParseError for invalid input

Issue #1 resolved
Michael Twomey
repo owner created an issue

From http://code.google.com/p/pyiso8601/issues/detail?id=24

Reported by manish.tomar, Jul 17, 2013

What steps will reproduce the problem? 1. iso8601.parse_date('2012-10-') raises TypeError on line 100

What is the expected output? What do you see instead? Raise ParseError

What version of the product are you using? On what operating system? iso8601 0.1.4

This is similar to http://code.google.com/p/pyiso8601/issues/detail?id=8 but this addresses more generic case of raising ParseError on any invalid input

Comments (1)

  1. Log in to comment