[issue11458] tarfile with socket incompatability

2011-03-10 Thread Alex Leach
Alex Leach added the comment: Thanks! =D On Thu, Mar 10, 2011 at 3:46 AM, R. David Murray wrote: > > R. David Murray added the comment: > > I believe you are looking for mode 'r|'. > > -- > nosy: +r.david.murray > resolution: -> works for me > stage: -> committed/rejected > status:

[issue11458] tarfile with socket incompatability

2011-03-09 Thread R. David Murray
R. David Murray added the comment: I believe you are looking for mode 'r|'. -- nosy: +r.david.murray resolution: -> works for me stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue11458] tarfile with socket incompatability

2011-03-09 Thread Alex Leach
New submission from Alex Leach : Hi, I'm trying to parse the contents of tar archives (.tgz) on the fly, and failing to do so. The tar archives in question have directory hierarchies, and only if a TarInfo object is a file (.isreg() ) will I try and read it's contents. I figured a sensible id