Antoine Pitrou added the comment: > I consider that sigtimedwait() is similar to select and kqueue: it's a > function to wait for an event with a timeout. IMO it should use the > same rounding method. Don't you think so? > > I don't really care how sigtimedwait() rounds its timeout, I just > tried to be consistent.
We have lots of "waiting for an event" with a timeout function (e.g. Lock.acquire()), so if we want to be consistent we have to change all of them. But originally this issue only "affects" event loops, so presumably it'd be reasonable to stick to select()-alikes. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20320> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com