[issue1040026] os.times() is bogus

Antoine Pitrou report at bugs.python.org
Sat Feb 23 18:13:59 CET 2008


Antoine Pitrou added the comment:

Well first I can't reproduce the bug on my machine :)
However the two patches do not produce any regression either.
I have some questions:
1. isn't 0.1 for WAIT_TIME a bit too low? 1.0 would probably be less
fragile IMHO
2. why do you fork() in test_times, rather than simply compute the
increase in the first and second return values of os.times()?

----------
nosy: +pitrou

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1040026>
_____________________________________


More information about the Python-bugs-list mailing list