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 maciej.szulik
Recipients Juarez.Bochi, Julian.Gindi, adam-collard, ajaksu2, alanvgreen, amaury.forgeotdarc, belopolsky, berker.peksag, cvrebert, guettli, jafo, josh-sf, maciej.szulik, mark.dickinson, petre, sonderblade, tiktuk, vajrasky, westley.martinez
Date 2014-04-04.05:45:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1396590352.68.0.0552506630691.issue1100942@psf.upfronthosting.co.za>
In-reply-to
Content
Alexander yes it's correct. It's checking for time part in date.strptime and for time part in time.strptime. The only problem I came into is that when passing 0 hours or 0 minutes into date.strptime it won't raise an exception, though doc explicitly says: "(...) ValueError is raised if the date string (...) the time part is nonzero". So I'm not sure whether this is enough or should I add additional checks if time part was set?
History
Date User Action Args
2014-04-04 05:45:52maciej.szuliksetrecipients: + maciej.szulik, jafo, guettli, amaury.forgeotdarc, mark.dickinson, belopolsky, sonderblade, alanvgreen, ajaksu2, josh-sf, cvrebert, tiktuk, adam-collard, westley.martinez, berker.peksag, Juarez.Bochi, petre, vajrasky, Julian.Gindi
2014-04-04 05:45:52maciej.szuliksetmessageid: <1396590352.68.0.0552506630691.issue1100942@psf.upfronthosting.co.za>
2014-04-04 05:45:52maciej.szuliklinkissue1100942 messages
2014-04-04 05:45:52maciej.szulikcreate