(original) (raw)

I found a interesting issue when checking the Lib/datetime.py implementation in python3

This patch is introduced by cf86e368ebd17e10f68306ebad314eea31daaa1e \[0\]. But if you
check the github page\[0\], or using git tag --contains, you will find v2.7.x includes this commit too.

$ git tag --contains cf86e368ebd17e10f68306ebad314eea31daaa1e
3.2
v2.7.10
v2.7.10rc1
v2.7.11
v2.7.11rc1
...

whereas, if you check the v2.7.x code base, nothing is found

$ git log v2.7.4 -- Lib/datetime.py

I guess it maybe a git tool bug, or the commit tree is messed up. Is there any guys could explain this
situation?

\[0\] https://github.com/python/cpython/commit/cf86e368ebd17e10f68306ebad314eea31daaa1e

--
Regards,
Jeffrey Zhang