Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:
I am going to close this as superseded by #9527. All these issues, current, #9527, and #1647654 are really about Python's lack of access to the system timezone information and #9527 seem to be the most appropriate solution. My specific concern about proposed time.utcoffset() is that you normally need UTC offset together with current time, but localtime() call followed by utcoffset() may lead to a race condition. ---------- resolution: -> rejected status: open -> pending superseder: -> Add aware local time support to datetime module _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7662> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com