Message95177
> I am not sure I understand: currently Ctrl-C generates a
> KeyboardInterrupt, which can be caught by the application which can
> then decide how to proceed (in particular it can start another command
> loop or exit with a meaningful message or anything else).
>
> This patch would suppress KeyboardInterrupt and thus interfere with such
> applications. Or am I missing something?
I checked the patch and tested with python from trunk. You are right
that the patch catches KeyboardInterrupt thus interfering with any
applications that expect it to be propagated upstream. Perhaps, this
can be made conditional so that we can keep both behaviors.
But CTRL-D processing doesn't suffer from any backwards compatible
issues and that part of the patch should be able to be applied safely. |
|
Date |
User |
Action |
Args |
2009-11-13 14:56:12 | draghuram | set | recipients:
+ draghuram, gvanrossum, isandler, alexandre.vassalotti, stephbul |
2009-11-13 14:56:10 | draghuram | link | issue1294 messages |
2009-11-13 14:56:09 | draghuram | create | |
|