Ignore CTRL+C (SIGINT).
()
| 67 | return sys.platform == 'darwin' and V(platform.mac_ver()[0]) >= V('10.9') |
| 68 | |
| 69 | def _ignore_CTRL_C_posix(): |
| 70 | """Ignore CTRL+C (SIGINT).""" |
| 71 | signal.signal(signal.SIGINT, signal.SIG_IGN) |
| 72 | |
| 73 | def _allow_CTRL_C_posix(): |
| 74 | """Take CTRL+C into account (SIGINT).""" |
nothing calls this directly
no outgoing calls
no test coverage detected