[ python-Bugs-990325 ] testtar.tar is partially insane

SourceForge.net noreply at sourceforge.net
Wed Jul 21 15:52:37 CEST 2004


Bugs item #990325, was opened at 2004-07-13 20:00
Message generated for change (Comment added) made by gustaebel
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=990325&group_id=5470

Category: Extension Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Peters (tim_one)
Assigned to: Nobody/Anonymous (nobody)
Summary: testtar.tar is partially insane

Initial Comment:
The test file testtar.tar is a binary file, but contains 
(seemingly by accident) CVS keywords, like $Date$ and 
$Revision$.  As a result, if Python is checked out with -
kk (don't expand keywords), test_tarfile fails.  I'm not 
clear on exactly why.

Binary files shouldn't have CVS keywords inside them, 
and tests shouldn't care whether keywords are 
expanded anyway.

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

Comment By: Lars Gustäbel (gustaebel)
Date: 2004-07-21 15:52

Message:
Logged In: YES 
user_id=642936

When I created testtar.tar I used a copy of pep-0000.txt as
dummy data, and that has CVS keywords in it. The problem is,
that -kk substitutes the keywords, although testtar.tar was
checked in with -kb. I blame CVS's rotten handling of binary
files for that one.

I opened a patch #995225 with a new testtar.tar that has no
keywords.

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

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


More information about the Python-bugs-list mailing list