static */
| 133 | |
| 134 | /* static */ |
| 135 | PyEventLoop PyEventLoop::_loopNotFound() { |
| 136 | PyErr_SetString(PyExc_RuntimeError, "PythonMonkey cannot find a running Python event-loop to make asynchronous calls."); |
| 137 | return PyEventLoop(nullptr); |
| 138 | } |
| 139 | |
| 140 | /* static */ |
| 141 | PyEventLoop PyEventLoop::_getLoopOnThread(PyThreadState *tstate) { |
nothing calls this directly
no test coverage detected