[issue22117] Rewrite pytime.h to work on nanoseconds

STINNER Victor report at bugs.python.org
Sat Aug 2 01:01:43 CEST 2014


STINNER Victor added the comment:

Here is a more complete patch (version 3). It uses _PyTimeSpec in more functions.

I tested the patch on Linux, Windows, FreeBSD, OpenBSD. I was surprised to find bugs. For example, Windows has a time_t larger than long, whereas OpenBSD 5.4 (on 64 bit) has a time_t smaller than long.

----------
Added file: http://bugs.python.org/file36200/timespec-3.patch

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


More information about the Python-bugs-list mailing list