Author serhiy.storchaka
Recipients jcea, ronaldoussoren, serhiy.storchaka
Date 2013-08-03.14:30:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375540258.46.0.150687603014.issue18595@psf.upfronthosting.co.za>
In-reply-to
Content
> * "read" will raise an exception when trying to read a symlink
>  (alternative: do symlink resolving, but that's too magical to my taste)

And perhaps when trying to read a directory entry too.

> * "extract" and "extractall" extract the symlink as a symlink
>  (but I'm not sure yet what to do on systems that don't support symlinks)

What the tar module do?

> * with the various file types it might be better to also provide
>  "islink(name)", "isdir(name)" and "isfile(name)" methods (simular to
>  their os.path equivalents)

Or rather as methods of the ZipInfo object. See TarInfo.
History
Date User Action Args
2013-08-03 14:30:58serhiy.storchakasetrecipients: + serhiy.storchaka, jcea, ronaldoussoren
2013-08-03 14:30:58serhiy.storchakasetmessageid: <1375540258.46.0.150687603014.issue18595@psf.upfronthosting.co.za>
2013-08-03 14:30:58serhiy.storchakalinkissue18595 messages
2013-08-03 14:30:58serhiy.storchakacreate