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 terry.reedy
Recipients cheryl.sabella, louielu, taleinat, terry.reedy
Date 2019-07-08.17:58:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562608717.31.0.740814400309.issue30663@roundup.psfhosted.org>
In-reply-to
Content
A closing note: Saimadhav Heblikar's initial patch on #17535 was a standalone proof-of-concept file was based on Canvas and Text subclasses.  The latter consisted mostly of two tk.eval(tcl_code) calls.  I rejected the idea of using tk.eval, as review and maintenance would requires knowing tcl.  But the submission won him my GSOC mentorship (and we did quite well working together, even though line-numbering was not finished).

Saimadhav's poc appears to have been inspired by Bryan Oakley's Canvas and Text-based answer a year earlier on https://stackoverflow.com/a/16375233.  But Bryan only used tk.call and tk.createcommand, not tk.eval.  Some of Saimadhav's tcl appears to be a translation of some of Bryan's python.

PR 2183 is a full patch also based on Canvas and Text and explicitly inspired by Oakley's answer.  However, the Text subclass is an edited version of Saimadhav's tk.eval version, not Oakley's.  This is properly closed as a duplicate, but it does provide the Oakley link, which does not appear on #17535.
History
Date User Action Args
2019-07-08 17:58:37terry.reedysetrecipients: + terry.reedy, taleinat, louielu, cheryl.sabella
2019-07-08 17:58:37terry.reedysetmessageid: <1562608717.31.0.740814400309.issue30663@roundup.psfhosted.org>
2019-07-08 17:58:37terry.reedylinkissue30663 messages
2019-07-08 17:58:36terry.reedycreate