Christian Heimes added the comment: A proper str.reverse function must deal with more extra cases. For example there are special rules for the Old German long s (ſ) and the round s (s). A round s may only occur at the end of a syllable. Hebrew has a special variant of several characters if the character is placed at the end of a word (HEBREW LETTER PE / HEBREW LETTER FINAL PE).
A simple reversed(s) can never deal with all the complicated rules. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19819> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com