Should we use appnope for dealing with OS X app nap? Checks if we are on OS X 10.9 or greater.
()
| 60 | return True |
| 61 | |
| 62 | def _use_appnope(): |
| 63 | """Should we use appnope for dealing with OS X app nap? |
| 64 | |
| 65 | Checks if we are on OS X 10.9 or greater. |
| 66 | """ |
| 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).""" |
no outgoing calls
no test coverage detected