[Python-bugs-list] [ python-Bugs-812325 ] tarfile violates bufsize

SourceForge.net noreply at sourceforge.net
Thu Sep 25 05:08:12 EDT 2003


Bugs item #812325, was opened at 2003-09-25 11:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=812325&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Johan Fredrik Öhman (johanfo)
Assigned to: Nobody/Anonymous (nobody)
Summary: tarfile violates bufsize

Initial Comment:
tf = tarfile.open(mode = 'w|gz', fileobj=fileName, 

bufsize=20*512)





The following text says how many bytes tarfile writes to 

the 'fileName.write' function. Notice that when closing 

the tarfile it writes way to many bytes!  This happes 

just sometimes. Some directories might work, other 

might not.





...

write len: 10240

write len: 10240

Closing archive

write len: 24815  # Somthing is wrong?

write len: 4

write len: 4

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=812325&group_id=5470



More information about the Python-bugs-list mailing list