Message285097
As a workaround, the platform's default Ctrl+C handler should allow killing the process:
>>> signal.signal(signal.SIGINT, signal.SIG_DFL)
<built-in function default_int_handler>
>>> counter = itertools.count()
>>> 'count' in counter
^C
But it's nowhere near as useful as a KeyboardInterrupt exception, if something ever gets implemented to resolve issue 26351. |
|
Date |
User |
Action |
Args |
2017-01-10 07:41:04 | eryksun | set | recipients:
+ eryksun, rhettinger, r.david.murray, Nixawk |
2017-01-10 07:41:04 | eryksun | set | messageid: <1484034064.7.0.782384286572.issue29222@psf.upfronthosting.co.za> |
2017-01-10 07:41:04 | eryksun | link | issue29222 messages |
2017-01-10 07:41:04 | eryksun | create | |
|