Public bug reported: utopic:
⟫ python -c "from dateutil.parser import parse; parse('X')" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/dateutil/parser.py", line 697, in parse return DEFAULTPARSER.parse(timestr, **kwargs) File "/usr/lib/python2.7/dist-packages/dateutil/parser.py", line 303, in parse raise ValueError, "unknown string format" ValueError: unknown string format vivid: $ python -c "from dateutil.parser import parse; parse('X')" Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/dateutil/parser.py", line 748, in parse return DEFAULTPARSER.parse(timestr, **kwargs) File "/usr/lib/python2.7/dist-packages/dateutil/parser.py", line 310, in parse res, skipped_tokens = self._parse(timestr, **kwargs) TypeError: 'NoneType' object is not iterable ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: python-dateutil 2.2-2 ProcVersionSignature: User Name 3.19.0-10.10-generic 3.19.2 Uname: Linux 3.19.0-10-generic x86_64 ApportVersion: 2.16.2-0ubuntu5 Architecture: amd64 Date: Mon Mar 30 14:41:44 2015 PackageArchitecture: all SourcePackage: python-dateutil UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: dateutil Importance: Undecided Status: New ** Affects: python-dateutil (Ubuntu) Importance: Undecided Status: Confirmed ** Tags: amd64 apport-bug landscape uec-images vivid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1438242 Title: parse() on an invalid time string no longer raises ValueError To manage notifications about this bug go to: https://bugs.launchpad.net/dateutil/+bug/1438242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs