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

SourceForge.net noreply at sourceforge.net
Thu Jul 22 03:06:48 CEST 2004


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

Category: Extension Modules
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Tim Peters (tim_one)
>Assigned to: Tim Peters (tim_one)
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: Tim Peters (tim_one)
Date: 2004-07-21 21:06

Message:
Logged In: YES 
user_id=31435

Patch 995225 has been checked in, so closing as Fixed.  
FWIW, I blame CVS too.

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

Comment By: Lars Gustäbel (gustaebel)
Date: 2004-07-21 09: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