[issue7662] time.utcoffset()

Alexander Belopolsky report at bugs.python.org
Wed Jan 12 02:44:34 CET 2011


Alexander Belopolsky <belopolsky at 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 <report at bugs.python.org>
<http://bugs.python.org/issue7662>
_______________________________________


More information about the Python-bugs-list mailing list