| 316 | expect to continuously increase the number of temporaries this can avoid \ |
| 317 | realloc's of the arena. Set to zero to free all temporary array resources.\n"); |
| 318 | static PyObject* |
| 319 | PySet_tempsize(PyObject *self, PyObject *args) { |
| 320 | Py_ssize_t newSize, oldSize; |
| 321 | if (!PyArg_ParseTuple(args, "n", &newSize)) |
| 322 | return NULL; |
| 323 | |
| 324 | pthread_mutex_lock(&gs.global_mutex); |
| 325 | oldSize = numexpr_set_tempsize(newSize); |
| 326 | pthread_mutex_unlock(&gs.global_mutex); |
| 327 | |
| 328 | return Py_BuildValue("n", oldSize ); |
| 329 | } |
| 330 | |
| 331 | #ifdef USE_VML |
| 332 | PyDoc_STRVAR(GetVMLVersion__doc__, |
nothing calls this directly
no test coverage detected
searching dependent graphs…