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 Dave Liptack, terry.reedy
Date 2020-03-06.06:36:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
selection_clear only partially clears a selection.  That it does something is proven by  It disables selection_get.  But run the file in IDLE and when it finishes, click the tk window, select a line, click Shell, and manually repeat the last 3 lines.  selection_get is disabled again, but upon clicking the title bar of the tk window (to not affect selection in the window), the selection is still highlighted.  Further experiments showed that the insertion-deletion bug of this issue remains when using selection_own and selection_clear in IDLE.

The alternative of simulating a click on the moved insert cursor is harder by works, at least on Windows.  This also triggers a status-bar update -- see #27115.
Date User Action Args
2020-03-06 06:36:51terry.reedysetrecipients: + terry.reedy, Dave Liptack
2020-03-06 06:36:51terry.reedysetmessageid: <>
2020-03-06 06:36:51terry.reedylinkissue39852 messages
2020-03-06 06:36:51terry.reedycreate