time.monotonic() roll over

Chris Angelico rosuav at gmail.com
Thu Dec 4 11:27:01 EST 2014


On Fri, Dec 5, 2014 at 3:21 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> Ian Kelly <ian.g.kelly at gmail.com>:
>
>> The implication is that if you go more than 49 days without calling
>> the function on old Windows systems, rollovers could be missed, which
>> is good to know about.
>
> The implication is all but clear, but that was my suspicion. It would be
> so bad that the documentation should be much more explicit about it.
>
> No, that would be a Python standard library bug, period.

It's not a Python issue. Python can't do anything more than ask the
system, and if the system's value rolls over several times a year,
Python can't magically cure that. The information has already been
lost.

ChrisA



More information about the Python-list mailing list