[3.14] GH-137573: Add test to check that the margin used for overflow protection is larger than the stack space used by the interpreter (GH-137724) by miss-islington · Pull Request #139295 · python/cpython
static PyObject* get_stack_pointer(PyObject *self, PyObject *Py_UNUSED(args)) { uintptr_t here_addr = _Py_get_machine_stack_pointer(); return PyLong_FromSize_t(here_addr); }
static PyObject* get_stack_margin(PyObject *self, PyObject *Py_UNUSED(args)) { return PyLong_FromSize_t(_PyOS_STACK_MARGIN_BYTES); }
static PyObject* test_bswap(PyObject *self, PyObject *Py_UNUSED(args))