[issue5416] str.replace does strange things when given a negative count

2009-03-04 Thread David Majnemer
New submission from David Majnemer : str.replace("", "", "asdf", -1) returns "asdf", I believe this is not correct and strictly speaking not up to the documentation posted. I am of the opinion that it should function like str.replace("", &quo

[issue5414] asciibin.a2b_uu returns unexpected values on non ascii data

2009-03-03 Thread David Majnemer
David Majnemer added the comment: Added version number of python. -- versions: +Python 2.5 ___ Python tracker <http://bugs.python.org/issue5414> ___ ___ Pytho

[issue5414] asciibin.a2b_uu returns unexpected values on non ascii data

2009-03-03 Thread David Majnemer
New submission from David Majnemer : Note that binascii.a2b_uu("\0") returns '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'. This appears to be the same as binascii.a2b_uu() which is most like