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 jafo
Recipients BreamoreBoy, Juarez.Bochi, adam-collard, ajaksu2, alanvgreen, amaury.forgeotdarc, belopolsky, berker.peksag, cvrebert, guettli, jafo, josh-sf, mark.dickinson, petre, sonderblade, tiktuk
Date 2013-03-19.01:08:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363655287.21.0.128125204202.issue1100942@psf.upfronthosting.co.za>
In-reply-to
Content
I've tried to test this but v4 doesn't apply cleanly after pure2 is applied, and v4 doesn't include enough to test it (applying v4 only causes test failures).

I reviewed v4 and it looks fine in general.  I do see that there are changes in it unrelated to this issue, but they are PEP8 changes so I'm not objecting, but ideally that would be split out into a separate patch.

I think that this code will incorrectly detect something like '%s %%wall clock' as a date spec because it contains '%w', but strptime would consider that '%' followed by the string 'wall'.  A subtle edge case, but worth considering.  Maybe it needs to strip out %% first then look for the % sequences?  Or perhaps just do the conversion and if the Y/M/D fields are set in then decide that it included a date spec, or if the HMS are set then say that it has the time spec included?
History
Date User Action Args
2013-03-19 01:08:07jafosetrecipients: + jafo, guettli, amaury.forgeotdarc, mark.dickinson, belopolsky, sonderblade, alanvgreen, ajaksu2, josh-sf, cvrebert, tiktuk, adam-collard, BreamoreBoy, berker.peksag, Juarez.Bochi, petre
2013-03-19 01:08:07jafosetmessageid: <1363655287.21.0.128125204202.issue1100942@psf.upfronthosting.co.za>
2013-03-19 01:08:07jafolinkissue1100942 messages
2013-03-19 01:08:07jafocreate