cpython/Python/intrinsics.c


#define _PY_INTERPRETER

#include "Python.h"
#include "pycore_frame.h"
#include "pycore_function.h"
#include "pycore_global_objects.h"
#include "pycore_compile.h"       // _PyCompile_GetUnaryIntrinsicName, etc
#include "pycore_intrinsics.h"    // INTRINSIC_PRINT
#include "pycore_pyerrors.h"      // _PyErr_SetString()
#include "pycore_runtime.h"       // _Py_ID()
#include "pycore_sysmodule.h"     // _PySys_GetAttr()
#include "pycore_typevarobject.h" // _Py_make_typevar()


/******** Unary functions ********/

static PyObject *
no_intrinsic1(PyThreadState* tstate, PyObject *unused)
{}

static PyObject *
print_expr(PyThreadState* tstate, PyObject *value)
{}

static int
import_all_from(PyThreadState *tstate, PyObject *locals, PyObject *v)
{}

static PyObject *
import_star(PyThreadState* tstate, PyObject *from)
{}

static PyObject *
stopiteration_error(PyThreadState* tstate, PyObject *exc)
{}

static PyObject *
unary_pos(PyThreadState* unused, PyObject *value)
{}

static PyObject *
list_to_tuple(PyThreadState* unused, PyObject *v)
{}

static PyObject *
make_typevar(PyThreadState* Py_UNUSED(ignored), PyObject *v)
{}


#define INTRINSIC_FUNC_ENTRY

const intrinsic_func1_info
_PyIntrinsics_UnaryFunctions[] =;


/******** Binary functions ********/

static PyObject *
no_intrinsic2(PyThreadState* tstate, PyObject *unused1, PyObject *unused2)
{}

static PyObject *
prep_reraise_star(PyThreadState* unused, PyObject *orig, PyObject *excs)
{}

static PyObject *
make_typevar_with_bound(PyThreadState* Py_UNUSED(ignored), PyObject *name,
                        PyObject *evaluate_bound)
{}

static PyObject *
make_typevar_with_constraints(PyThreadState* Py_UNUSED(ignored), PyObject *name,
                              PyObject *evaluate_constraints)
{}

const intrinsic_func2_info
_PyIntrinsics_BinaryFunctions[] =;

#undef INTRINSIC_FUNC_ENTRY

PyObject*
_PyCompile_GetUnaryIntrinsicName(int index)
{}

PyObject*
_PyCompile_GetBinaryIntrinsicName(int index)
{}