Steve D'Aprano wrote:
For example, pressing delete when there is no text to delete should just silently do nothing.
That's really just a matter of deciding what should count as an error and what shouldn't. You've decided that "pressing Delete when there's nothing to delete does nothing" is a reasonable thing to include in the specifications of correct behaviour for the program. -- Greg -- https://mail.python.org/mailman/listinfo/python-list