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 adamwill
Recipients adamwill, p-ganssle
Date 2018-03-03.01:18:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1520039930.71.0.467229070634.issue32988@psf.upfronthosting.co.za>
In-reply-to
Content
I'd suggest that if that is the case, it would be better for the docs to *specifically mention* that `%s` is not supported and should not be used, rather than simply not mentioning it.

When it's used in real code (note someone in the SO issue mentions "I have been going crazy trying to figure out why i see strftime("%s") a lot, yet it's not in the docs") and just *not mentioned* in the docs, this tends to give the impression that it's something usable that was perhaps just forgotten from the docs, or something. The situation would be much clearer if the docs said "DO NOT USE THIS, IT'S DANGEROUS AND DOESN'T DO WHAT YOU THINK" in big letters. (And suggested using .timestamp() on Python 3.3+, and possibly arrow's .timestamp on 2.7?)
History
Date User Action Args
2018-03-03 01:18:50adamwillsetrecipients: + adamwill, p-ganssle
2018-03-03 01:18:50adamwillsetmessageid: <1520039930.71.0.467229070634.issue32988@psf.upfronthosting.co.za>
2018-03-03 01:18:50adamwilllinkissue32988 messages
2018-03-03 01:18:49adamwillcreate