Alexander Belopolsky <alexander.belopol...@gmail.com> added the comment:
Well, even in non-POSIX mode timegm and gmtime are the inverse of one another in BSD. The problem that you see stems from the fact that time.gmtime is implemented as a call to the namesake C function while calendar.timegm is implemented in pure Python. It would be reasonable to bring some consistency to this situation. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33579> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com