This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author thatiparthy
Recipients thatiparthy
Date 2013-11-12.17:40:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384278059.69.0.538735147491.issue19562@psf.upfronthosting.co.za>
In-reply-to
Content
Added descriptive message to assert statement in datetime module.
Since _check_date_fields does the job of data integrity, i did not check for ValueError, TypeError checks in the function.

However, i am not sure of the adding descriptive messages to the other assert statements like, assert seconds == int(seconds). And isn't this too much defensive programming?
History
Date User Action Args
2013-11-12 17:40:59thatiparthysetrecipients: + thatiparthy
2013-11-12 17:40:59thatiparthysetmessageid: <1384278059.69.0.538735147491.issue19562@psf.upfronthosting.co.za>
2013-11-12 17:40:59thatiparthylinkissue19562 messages
2013-11-12 17:40:59thatiparthycreate