D2696: cleanup: use stat_result[stat.ST_MTIME] instead of stat_result.st_mtime
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Tue Mar 6 00:58:21 UTC 2018
durin42 added inline comments.
INLINE COMMENTS
> indygreg wrote in osutil.c:125
> Is this valid for Python 2? The passed argument will likely be a PyInt on Python 2. I thought `PyLong_AsLong` only operates on int types?
Seems to (I also could have sworn int and long became the same thing in 2.6), as it passes the entire testsuite.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2696
To: durin42, #hg-reviewers
Cc: indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list