This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Saimadhav.Heblikar
Recipients JayKrish, Saimadhav.Heblikar, Todd.Rovito, ezio.melotti, jesstess, philwebster, terry.reedy
Date 2014-06-01.14:44:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401633875.89.0.576564545302.issue18504@psf.upfronthosting.co.za>
In-reply-to
Content
This patch tries to enable mock_Tk.Text._decode to handle the following patterns
insert linestart
insert lineend
insert wordstart
insert wordend
insert +x chars
insert -x chars

These additions are required for testing AutoExpand and are written keeping the same in mind. Also, adds respective tests for test_decode in test_text.py.

I would like to know if my approach is acceptable or whether it needs changes.

issue18292 is about adding unittests for AutoExpand.

(A 2.7 patch will be submitted once the above changes become acceptable)
History
Date User Action Args
2014-06-01 14:44:35Saimadhav.Heblikarsetrecipients: + Saimadhav.Heblikar, terry.reedy, ezio.melotti, jesstess, Todd.Rovito, JayKrish, philwebster
2014-06-01 14:44:35Saimadhav.Heblikarsetmessageid: <1401633875.89.0.576564545302.issue18504@psf.upfronthosting.co.za>
2014-06-01 14:44:35Saimadhav.Heblikarlinkissue18504 messages
2014-06-01 14:44:35Saimadhav.Heblikarcreate