Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: On Mon, Nov 24, 2008 at 12:34 PM, STINNER Victor <[EMAIL PROTECTED]> wrote: .. >> I would still prefer totimestamp()->(int, int) returning (sec, usec) >> tuple. The important benefit is that such totimestamp() will not >> loose information > > Right, I prefer your solution ;-) >
Great! What do you think about extending fromtimestamp(timestamp[, tz]) and utcfromtimestamp(timestamp) to accept a tuple for the timestamp? Also, are you motivated enough to bring this up on python-dev to get a community and BDFL blessings? I think this has a chance to be approved. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2736> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com