Author j0ffrey
Recipients j0ffrey
Date 2018-01-29.21:15:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517260556.9.0.467229070634.issue32713@psf.upfronthosting.co.za>
In-reply-to
Content
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 converting some mtime values in TarInfo._create_header

This also happens for positive floats > 8**11 - 1, but that one is less of an issue for the next two hundred years or so.
History
Date User Action Args
2018-01-29 21:15:56j0ffreysetrecipients: + j0ffrey
2018-01-29 21:15:56j0ffreysetmessageid: <1517260556.9.0.467229070634.issue32713@psf.upfronthosting.co.za>
2018-01-29 21:15:56j0ffreylinkissue32713 messages
2018-01-29 21:15:56j0ffreycreate