Author markgrandi
Recipients lars.gustaebel, markgrandi, r.david.murray
Date 2014-08-19.06:41:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I still don't see why TarFile.add() can't be changed to accept a file like object so users don't have to fumble around with a TarInfo object when they just want add a file like object, and don't care about the permission bits and whatnot. It also says un the TarInfo section that you get those objects from gettarinfo(), and its not clear (at least to me) that you can just manually construct one, and that you only need the size property set.

I still the easiest way to solve this is to have gettarinfo() or add() accept file like objects that don't have file descriptors, as it would go a long way to simplifying the use of this module as well. (in zip file you don't ever have to worry about ZipInfo objects unless you need them...)
Date User Action Args
2014-08-19 06:41:32markgrandisetrecipients: + markgrandi, lars.gustaebel, r.david.murray
2014-08-19 06:41:32markgrandisetmessageid: <>
2014-08-19 06:41:32markgrandilinkissue22208 messages
2014-08-19 06:41:31markgrandicreate