[ python-Bugs-776202 ] MacOS9: test_uu fails
SourceForge.net
noreply at sourceforge.net
Fri Dec 22 14:33:03 CET 2006
Bugs item #776202, was opened at 2003-07-23 08:02
Message generated for change (Comment added) made by akuchling
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=776202&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Macintosh
Group: None
Status: Open
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Jack Jansen (jackjansen)
Assigned to: Jack Jansen (jackjansen)
Summary: MacOS9: test_uu fails
Initial Comment:
test_uu fails on MacPython-OS9:
AssertionError: 'The smooth-scaled python crept over the
sleeping dog\r' != 'The smooth-scaled python crept over the
sleeping dog\n'
Presumably it mixes binary and text I/O.
----------------------------------------------------------------------
>Comment By: A.M. Kuchling (akuchling)
Date: 2006-12-22 08:33
Message:
Logged In: YES
user_id=11375
Originator: NO
Should the suggested patch be applied, simply for the sake of consistency
in test_uu? It's probably difficult to replicate this bug now; does Jack
even have a MacOS 9 installation any more?
----------------------------------------------------------------------
Comment By: Walter Dörwald (doerwalter)
Date: 2003-08-04 09:33
Message:
Logged In: YES
user_id=89016
Can you try the following patch (diff.txt)? The patch
changes all open() statements to use text mode. I've tested
the patch on Windows and Linux.
I don't know why the old test mixed text and binary mode.
The test should have failed even before the port to PyUnit.
----------------------------------------------------------------------
Comment By: Jack Jansen (jackjansen)
Date: 2003-08-04 07:41
Message:
Logged In: YES
user_id=45365
It's in test_decode. The log is attached.
----------------------------------------------------------------------
Comment By: Walter Dörwald (doerwalter)
Date: 2003-08-04 07:21
Message:
Logged In: YES
user_id=89016
It would help to see a complete traceback (Is the error in
test_encode or test_decode?)
----------------------------------------------------------------------
Comment By: Jack Jansen (jackjansen)
Date: 2003-07-31 15:50
Message:
Logged In: YES
user_id=45365
I changed the open call to use 'rU' in stead of 'r' (test_uu rev.
1.6.6.1). I get the distinct impression that this isn't the right fix,
though, but that the real problem is elsewhere (mixing up text and
binary I/O), so I'd like a second opinion.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=776202&group_id=5470
More information about the Python-bugs-list
mailing list