[issue1040026] os.times() is bogus

Malte Helmert report at bugs.python.org
Sun Oct 19 02:13:15 CEST 2008


Malte Helmert <helmert at informatik.uni-freiburg.de> added the comment:

OK, modified and simplified patch attached (os_times5.PATCH).

The patch and unit test (in test_posix5.PATCH) apply cleanly against the
trunk. "make test" passes on two machines I tried, including a 64-bit
Linux machine where the new unit test fails without the patch. The
caveat is that with the machines I have, I can't exercise all #ifdef
paths. However, the logic looks simple enough now.

Added file: http://bugs.python.org/file11826/os_times5.PATCH

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


More information about the Python-bugs-list mailing list