Author: Matti Picus <matti.pi...@gmail.com> Branch: py3.6 Changeset: r95359:e999d9a3df93 Date: 2018-11-23 15:47 -0600 http://bitbucket.org/pypy/pypy/changeset/e999d9a3df93/
Log: export function from dll diff --git a/pypy/module/cpyext/include/pyerrors.h b/pypy/module/cpyext/include/pyerrors.h --- a/pypy/module/cpyext/include/pyerrors.h +++ b/pypy/module/cpyext/include/pyerrors.h @@ -17,6 +17,7 @@ PyAPI_FUNC(PyObject *) PyErr_NewException(const char *name, PyObject *base, PyObject *dict); PyAPI_FUNC(PyObject *) PyErr_NewExceptionWithDoc(const char *name, const char *doc, PyObject *base, PyObject *dict); PyAPI_FUNC(PyObject *) PyErr_Format(PyObject *exception, const char *format, ...); +PyAPI_FUNC(PyObject *) _PyErr_FormatFromCause(PyObject *exception, const char *format, ...); /* These APIs aren't really part of the error implementation, but often needed to format error messages; the native C lib APIs are _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit