Florent Xicluna <[email protected]> added the comment: actually, there's a simpler implementation, using s.rstrip(always_safe + safe).
It is as fast as the previous one. ---------- Added file: http://bugs.python.org/file17298/issue1285086_using_rstrip.diff _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue1285086> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
