]> granicus.if.org Git - python/commit
Issue #14180: datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp()
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 13 Mar 2012 23:15:40 +0000 (00:15 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 13 Mar 2012 23:15:40 +0000 (00:15 +0100)
commit21f5893571e953aa6042ef686bc2ea539acf39d1
tree5fd9b7b5e3e4b696156ecd9213501021fe25be94
parent910df329fd4f4206966e98ddf81ae169e0ca4d1d
Issue #14180: datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp()
and datetime.datetime.utcfromtimestamp() now raise an OSError instead of
ValueError if localtime() or gmtime() failed.
Doc/library/datetime.rst
Misc/NEWS
Modules/_datetimemodule.c