Mercurial > hg
comparison mercurial/policy.py @ 36780:f3c314020beb
osutil: implement minimal __getitem__ compatibility on our custom listdir type
We previously declined to do this, but the removal of the deprecated
os.stat_float_times() method in Python 3.7 forces our hand.
Differential Revision: https://phab.mercurial-scm.org/D2695
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 05 Mar 2018 15:07:32 -0500 |
parents | 430fdb717549 |
children | 2025bf60adb2 |
comparison
equal
deleted
inserted
replaced
36779:bf9a04d78084 | 36780:f3c314020beb |
---|---|
67 _cextversions = { | 67 _cextversions = { |
68 (r'cext', r'base85'): 1, | 68 (r'cext', r'base85'): 1, |
69 (r'cext', r'bdiff'): 3, | 69 (r'cext', r'bdiff'): 3, |
70 (r'cext', r'diffhelpers'): 1, | 70 (r'cext', r'diffhelpers'): 1, |
71 (r'cext', r'mpatch'): 1, | 71 (r'cext', r'mpatch'): 1, |
72 (r'cext', r'osutil'): 3, | 72 (r'cext', r'osutil'): 4, |
73 (r'cext', r'parsers'): 4, | 73 (r'cext', r'parsers'): 4, |
74 } | 74 } |
75 | 75 |
76 # map import request to other package or module | 76 # map import request to other package or module |
77 _modredirects = { | 77 _modredirects = { |