This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients benjamin.peterson, cgohlke, paul.moore, pyscripter, steve.dower, tim.golden, vstinner, zach.ware
Date 2019-06-17.07:48:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Attached PR 14142 fix bpo-34646 regression.

> It shouldn't break existing code because PyRun_String has a macro expansion to PyRun_StringFlags. ABI compatibility between major releases is not provided.

Many applications don't use Python header files, but access directly libpython. For example, py2app uses dlsym():

PyInstaller uses GetProcAddress() on Windows or dlsym() on other platforms:

That's why PyRun_String() is defined as an alias using a macro *and* as a function in pythonrun.c:

#undef PyRun_String
PyObject *
PyRun_String(const char *str, int s, PyObject *g, PyObject *l)
    return PyRun_StringFlags(str, s, g, l, NULL);
Date User Action Args
2019-06-17 07:48:56vstinnersetrecipients: + vstinner, paul.moore, tim.golden, pyscripter, benjamin.peterson, cgohlke, zach.ware, steve.dower
2019-06-17 07:48:56vstinnersetmessageid: <>
2019-06-17 07:48:56vstinnerlinkissue37189 messages
2019-06-17 07:48:56vstinnercreate