eryksun added the comment: > errno should always be cleared before use (in C99 at least, > not sure what the crt does).
The CRT's strftime doesn't clear errno. I suggested clearing it in issue 25029, msg250215. ---------- nosy: +eryksun _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25092> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com