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 serhiy.storchaka
Recipients fresh_nick, serhiy.storchaka, terry.reedy
Date 2016-01-16.11:23:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452943436.51.0.308554053621.issue26085@psf.upfronthosting.co.za>
In-reply-to
Content
I can't reproduce the result with tem.py. If change binding to <Control-t> and comment out the line "return 'break'" in the callback I can reproduce it.

This is expected and documented (but only in bind() docstring) behavior. If the callback returns 'break', no other functions (including standard handlers) will be invoked for the event. Otherwise the standard handler for <Control-t> is invoked and it swaps two characters as Terry said.

If doesn't consider this issue as the documentation issue, it should be closed as not a bug.

Here is Terry's example translated to pure Tcl.
History
Date User Action Args
2016-01-16 11:23:56serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, fresh_nick
2016-01-16 11:23:56serhiy.storchakasetmessageid: <1452943436.51.0.308554053621.issue26085@psf.upfronthosting.co.za>
2016-01-16 11:23:56serhiy.storchakalinkissue26085 messages
2016-01-16 11:23:56serhiy.storchakacreate