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 p-ganssle
Recipients belopolsky, davin, lemburg, p-ganssle, serhiy.storchaka, xtreak
Date 2018-09-17.13:56:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537192566.95.0.956365154283.issue31635@psf.upfronthosting.co.za>
In-reply-to
Content
@Serhiy Looking more closely at #13414, I think there's a good chance that we've just discovered a different bug in OpenBSD's implementation of wcsftime (or strftime). Looks like OpenBSD 6.1 was released in 2017, which should have been years after the fix from #13414 was released.

It seems that OpenBSD does not have a bug tracker per se, and I can't see if this bug has been reported. I can try to install OpenBSD in a VM later and try to reproduce it, but if it's a bug in OpenBSD, I see some possible options:

1. Add an exception to the test suite on OpenBSD (to be removed or pinned when it's fixed in OpenBSD)

2. If the bug is just in wcsftime and not in strftime, it may be fixed by switching to using strftime as is done on Windows: https://github.com/python/cpython/blob/master/Modules/timemodule.c#L673

I have never tested it, but it's possible this will impact performance, and if it's a bad enough hit it may not be worth sacrificing general performance to avoid a bug in a corner case.
History
Date User Action Args
2018-09-17 13:56:06p-gansslesetrecipients: + p-ganssle, lemburg, belopolsky, serhiy.storchaka, davin, xtreak
2018-09-17 13:56:06p-gansslesetmessageid: <1537192566.95.0.956365154283.issue31635@psf.upfronthosting.co.za>
2018-09-17 13:56:06p-gansslelinkissue31635 messages
2018-09-17 13:56:06p-gansslecreate