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 wolever
Recipients wolever
Date 2013-08-12.20:29:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376339376.74.0.0279691228671.issue18718@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for the `%S` formatter suggests that it supports leap seconds, but the footnote contradicts that:

> The range really is 0 to 61; according to the Posix standard this
> accounts for leap seconds and the (very rare) double leap seconds.
> The time module may produce and does accept leap seconds since it is
> based on the Posix standard, but the datetime module does not accept
> leap seconds in strptime() input nor will it produce them in
> strftime() output.

I propose that the documentation be updated to mirror the 3.X documentation: no leap second in the example and a footnote which makes note of that and suggests using the time module.
History
Date User Action Args
2013-08-12 20:29:36woleversetrecipients: + wolever
2013-08-12 20:29:36woleversetmessageid: <1376339376.74.0.0279691228671.issue18718@psf.upfronthosting.co.za>
2013-08-12 20:29:36woleverlinkissue18718 messages
2013-08-12 20:29:36wolevercreate