Message155164
Try to enclose the whole code (including the imports) in the try...except block. I'm not sure why this matters, though.
If you want Python to have a different return code when terminated by a KeyboardInterrupt, then I agree it is a valid feature request. |
|
Date |
User |
Action |
Args |
2012-03-08 15:53:09 | pitrou | set | recipients:
+ pitrou, telmich |
2012-03-08 15:53:09 | pitrou | set | messageid: <1331221989.4.0.447680883632.issue14228@psf.upfronthosting.co.za> |
2012-03-08 15:53:08 | pitrou | link | issue14228 messages |
2012-03-08 15:53:08 | pitrou | create | |
|