Serhiy Storchaka added the comment:

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.

----------
Added file: http://bugs.python.org/file41632/tem.tcl

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26085>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to