[issue11449] tarfile tries to file_.tell() even when creating a new archive

2011-06-01 Thread Dan Stromberg
Dan Stromberg added the comment: Yes, I just needed to use 'w|' instead of 'w'. Thanks! -- resolution: -> works for me status: open -> closed ___ Python tracker ___ __

[issue11449] tarfile tries to file_.tell() even when creating a new archive

2011-05-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: 2.5 is closed; 2.6 security fix only, 3.1 soon will be -- nosy: +terry.reedy versions: -Python 2.5, Python 2.6, Python 3.1 ___ Python tracker

[issue11449] tarfile tries to file_.tell() even when creating a new archive

2011-03-09 Thread Lars Gustäbel
Lars Gustäbel added the comment: If I understand correctly, the solution to your problem would be to use the stream mode "w|" instead of "w". Could you please try that? -- assignee: -> lars.gustaebel ___ Python tracker

[issue11449] tarfile tries to file_.tell() even when creating a new archive

2011-03-08 Thread Ned Deily
Changes by Ned Deily : -- nosy: +lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue11449] tarfile tries to file_.tell() even when creating a new archive

2011-03-08 Thread Dan Stromberg
New submission from Dan Stromberg : The attached file demonstrates the problem in 2.5, 2.5, 2.7, 3.0, 3.1 and 3.2. In short, I believe when you're creating a new tar archive (say, to a pipe), there should be no need for a file_.tell() (which blows up when it's a pipe). I have a workaround, as