[issue11999] sporadic failure in test_mailbox on FreeBSD

Steffen Daode Nurpmeso report at bugs.python.org
Fri May 6 12:27:07 CEST 2011


Steffen Daode Nurpmeso <sdaoden at googlemail.com> added the comment:

> I also added an additional delta in case the file system clock
> is skewing relative to the system clock. 

In fact this idea could even be made public e.g. like this

    class ClockDrifter:
        def add_snapshot(self, exttime, loctime=None):
            if loctime is None:
                loctime = time.time()
            ...
        def drift_tendency(self):
            ...
        def drift_distance(self):
            ...

I could think of usages thereof.

----------

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


More information about the Python-bugs-list mailing list