Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: OP does not have the reference, but the issue is apparently in the time and datetime modules documentation:
http://docs.python.org/dev/library/time.html#time.strftime http://docs.python.org/dev/library/datetime.html#strftime-behavior Note that datetime's doc is twice incorrect because leap seconds are not supported by the datetime module at all: >>> from datetime import * >>> time(23,59,60) Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: second must be in 0..59 >>> datetime.strptime('20000101T235960', '%Y%m%dT%H%M%S') Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: second must be in 0..59 ---------- assignee: -> georg.brandl components: +Documentation -Library (Lib) nosy: +belopolsky, georg.brandl __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2568> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com