This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sjoerd
Recipients
Date 2001-09-11.08:03:05
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=43607

I am reopening this bug.
In the current  version of Python, with a current version of
IRIX (6.5.13), the test still fails.  If you look closely at
the output and compare it with the comment and code in the
test file, you can see why:
The output that the test got was 'I wish to buy a fish
license.\r\nFor my pet fish, Eric.\n'.  The test removes a
final \r\n and replaces it with just \n before comparing
(the result is shown above), but it doesn't do that for
embedded \r\n, and that is what is wrong with the output.
I suggest changing the lines
if s1[-2:] == "\r\n":
    s1 = s1[:-2] + "\n"
to something like
s1 = string.join(string.split(s1, '\r\n'), '\n')
(or s1 = '\n'.join(s1.split('\r\n')) ).
History
Date User Action Args
2007-08-23 13:56:02adminlinkissue456395 messages
2007-08-23 13:56:02admincreate