[issue9527] Add aware local time support to datetime module

Alexander Belopolsky report at bugs.python.org
Sun Jan 30 06:52:56 CET 2011


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

On Sat, Jan 29, 2011 at 11:56 PM, Raymond Hettinger
<report at bugs.python.org> wrote:
..
> Also, I question whether the proposed API is correct.  ISTM that any code that sets the *dst*
> parameter is guaranteed to be wrong (hardwiring-in a value that will change every few months).

Can you elaborate on this?  ISTM that your argument would equally
apply to C/POSIX mktime() API.  It won't be the first time C/POSIX got
time handling wrong, but I doubt it is the case in this instance.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9527>
_______________________________________


More information about the Python-bugs-list mailing list