Phil Webster added the comment: This patch contains mock_idle.py and the rstrip test using the mock text widget from #18365.
Terry- For some reason, the Text widget always contains a '\n' as the last character even when there is nothing visible. Doing a text.get('1.0','end') always has a '\n' at the end from what I can tell. I'm not sure about the filename changing, is it worth creating a new issue for? ---------- Added file: http://bugs.python.org/file30852/test_rstrip3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18279> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com