New submission from David Majnemer <david.majne...@gmail.com>: 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("", "", "asdf", 0) which returns ""
---------- components: Interpreter Core messages: 83119 nosy: dmajnemer severity: normal status: open title: str.replace does strange things when given a negative count versions: Python 2.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5416> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com