Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
I agree with Martin. A proper fix would be to use tm_gmtoff explicitly where available and carry it in time.struct_time. See issue1647654 and issue4086. Interestingly, the issue does not show up on OSX, which being a BSD derivative does have tm_gmtoff in struct tm. While I don't have an affected system to test the patch, it does not look right to me. I would think mktime() should be called after PyArg_Parse, not before because tm_gmtoff may be different for different times. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue762963> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com