New submission from Matt Kubilus <kubil...@yahoo.com>: Rstrip has unexpected behavior with some strings. Example:
----- >>> "proxa.py".rstrip(".py") 'proxa' >>> "proxy.py".rstrip(".py") 'prox' ----- Tested with Python 2.6.1 ---------- components: Library (Lib) messages: 89736 nosy: mkubilus severity: normal status: open title: Rstrip Incorrectly Strips Some Strings type: behavior versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6346> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com