Author brett.cannon
Recipients brett.cannon, paul.moore
Date 2015-03-13.14:50:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
As it stand, zipapp's code checks for str and then otherwise assumes an object is a file-like object. It might work out better to do some duck typing and simply check if an object has 'read' and 'readline' attributes then it's a file-like object and otherwise that it's a path.

Doing this would then potentially make it easier to use pathlib.Path through the module rather than the os module.
Date User Action Args
2015-03-13 14:50:10brett.cannonsetrecipients: + brett.cannon, paul.moore
2015-03-13 14:50:10brett.cannonsetmessageid: <>
2015-03-13 14:50:10brett.cannonlinkissue23657 messages
2015-03-13 14:50:10brett.cannoncreate