# HG changeset patch # User Augie Fackler # Date 1520271068 18000 # Node ID 86ba6e3eba4e0f286eeb2b6eea43a3812a199a80 # Parent ffa3026d41964b2d06358c4f21f7e722264d1b3f util: stop calling os.stat_float_times() It had Python-wide side effects, and it disappears in 3.7.0. As of this change, we're mostly working on 3.7.0b2. There are a few worrying failures, mostly around regular expressions, but we'll have to tackle those separately. Differential Revision: https://phab.mercurial-scm.org/D2697 diff -r ffa3026d4196 -r 86ba6e3eba4e mercurial/util.py --- a/mercurial/util.py Mon Mar 05 12:30:20 2018 -0500 +++ b/mercurial/util.py Mon Mar 05 12:31:08 2018 -0500 @@ -176,11 +176,6 @@ _notset = object() -# disable Python's problematic floating point timestamps (issue4836) -# (Python hypocritically says you shouldn't change this behavior in -# libraries, and sure enough Mercurial is not a library.) -os.stat_float_times(False) - def safehasattr(thing, attr): return getattr(thing, attr, _notset) is not _notset