]> granicus.if.org Git - python/commit
When time.localtime() is passed a tick count the platform C localtime()
authorTim Peters <tim.peters@gmail.com>
Fri, 17 Jan 2003 20:08:54 +0000 (20:08 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 17 Jan 2003 20:08:54 +0000 (20:08 +0000)
commit8b19a93b87d6514fec9918cd0b13cefbaca83950
treefe39bb0df903fa67ca12d8b05f8a5cd49a3f9a4c
parent504377d4ddc997bce8165571684729b7b31fccb8
When time.localtime() is passed a tick count the platform C localtime()
function can't handle, don't raise IOError -- that doesn't make sense.
Raise ValueError instead.

Bugfix candidate.
Modules/timemodule.c