bpo-32713: Fix tarfile.itn for large/negative float values. (GH-5434) master
authorJoffrey F <f.joffrey@gmail.com>
Tue, 27 Feb 2018 00:02:21 +0000 (16:02 -0800)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 26 Jun 2020 12:21:50 +0000 (14:21 +0200)
commitb95e7da5610216b9e2113ba216f2e07fdbbadf45
treed954d5ebefee084ba20905f94b3a26e4d80a4852
parentb0284296cf51723fb2484ffb16d813fa1921b385
bpo-32713: Fix tarfile.itn for large/negative float values. (GH-5434)

Import the tarfile changes from commit:

    commit 72d9b2be36f091793ae7ffc5ad751f040c6e6ad3
    Author: Joffrey F <f.joffrey@gmail.com>
    Date:   Mon Feb 26 16:02:21 2018 -0800

        bpo-32713: Fix tarfile.itn for large/negative float values. (GH-5434)

which add a safeguard against the type level volatility of
os.stat_result which will return a float instead of an int if e.
g. st_mtime becomes negative due to the timezone.
deltatar/tarfile.py