[issue13847] Catch time(), ftime(), localtime() and clock() errors

STINNER Victor report at bugs.python.org
Tue Jan 24 02:06:30 CET 2012


New submission from STINNER Victor <victor.stinner at haypocalc.com>:

Attach patch catchs errors on time(), ftime(), localtime() and clock(). It changes floattime() and _Py_gettimeofday() signature: result now indicates if an error occurred or not, and these function now directly raise an exception.

Catching time() error is maybe overflow: modern version of its manual page don't mention errors.

----------
components: Library (Lib)
files: time_error.patch
keywords: patch
messages: 151871
nosy: belopolsky, haypo
priority: normal
severity: normal
status: open
title: Catch time(), ftime(), localtime() and clock() errors
versions: Python 3.3
Added file: http://bugs.python.org/file24308/time_error.patch

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


More information about the Python-bugs-list mailing list