Author terry.reedy
Recipients Todd.Rovito, philwebster, terry.reedy
Date 2013-07-08.22:27:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373322450.57.0.891831983276.issue18365@psf.upfronthosting.co.za>
In-reply-to
Content
Great start! Some revisions:
* Create root directly (and just once); add root.destroy, which added several warnings.
* Create Text directly; test should not require Editors. This removed warnings. I suspect that EditorWindow.py does other things that are not properly undone. In any case, tests should only create needed objects.
* Worked on docstrings; polished _decode.
* Revised .insert to handle '' and 'a....z\n' and added corresponding tests.
* Consistently used 'end' instead of 'end' here and 'END' there.
* Added test_no_delete and edited mock delete to pass.
* Finished compare methods and added tests.
* Deleted non-tk .setDate/.getData, which only slightly abbreviate the real .get and .insert methods. I notice that Phil already changed the FormatParagraph test to not use them.

Here is the result. I think it is about ready to commit after sleeping on it and a final review.
History
Date User Action Args
2013-07-08 22:27:30terry.reedysetrecipients: + terry.reedy, Todd.Rovito, philwebster
2013-07-08 22:27:30terry.reedysetmessageid: <1373322450.57.0.891831983276.issue18365@psf.upfronthosting.co.za>
2013-07-08 22:27:30terry.reedylinkissue18365 messages
2013-07-08 22:27:30terry.reedycreate