This also fails for me with python-dateutil 2.1. In both 2.1 and 2.2, the function works as documented under Python 3.3.3. When I run it under Python 2.7.5 it throws the exception shown above.
This also fails for me with python-dateutil 2.1. In both 2.1 and 2.2, the function works as documented under Python 3.3.3. When I run it under Python 2.7.5 it throws the exception shown above.