Bugs item #1224672, was opened at 2005-06-21 02:47
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1224672&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard Prosser (rprosser)
Assigned to: Nobody/Anonymous (nobody)
Summary: rsplit introduces spurious CR

Initial Comment:
Using ActiveState Python 2.4.1 on "SunOS svpadm03 
5.6 Generic_105181-25 sun4u sparc SUNW,Ultra-60", it 
seems that the new rsplit() adds a '\r' character at the 
end of the field. This was not present in the original 
data, so I suspect that there is a bug.

Attachment gives partial script - I cannot upload the 
whole file for copyright reasons. However the process 
should be pretty clear, and it should be possible to 
arrange a test on a local machine.




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

>Comment By: Raymond Hettinger (rhettinger)
Date: 2005-06-21 02:58

Message:
Logged In: YES 
user_id=80475

Please submit a test case reduced to one line:
"somestring".rsplit()  # introduces \r not present in input

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1224672&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to