[Python-bugs-list] [ python-Feature Requests-748201 ] time.strptime() should display format and date on error
SourceForge.net
noreply@sourceforge.net
Tue, 03 Jun 2003 07:14:35 -0700
Feature Requests item #748201, was opened at 2003-06-03 14:14
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=748201&group_id=5470
Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Guettler (guettli)
Assigned to: Nobody/Anonymous (nobody)
Summary: time.strptime() should display format and date on error
Initial Comment:
Hi!
It would be very nice if the ValueError of
time.strptime() would
display the format and the date if there is a mismatch.
Up to now (python 2.2.2) the Error looks like this:
ValueError: format mismatch
It would be nice if it would look like this:
format mismatch: str=2002.12.24 format=%Y-%m-%d
thomas
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=748201&group_id=5470