[issue32713] tarfile.itn breaks if n is a negative float

2018-01-29 Thread Joffrey F
New submission from Joffrey F : Originally reported @ github.com/docker/compose/issues/5618 It seems that tarfile.itn() attempts to execute bitwise operations on a float if the n argument is a negative float, raising a TypeError. As pointed out in the original report, this is an issue when

[issue32713] tarfile.itn breaks if n is a negative float

2018-01-29 Thread Joffrey F
Change by Joffrey F : -- keywords: +patch pull_requests: +5267 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32713> ___ ___ Python-