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 gvanrossum
Recipients Igor.Skochinsky, brandtbucher, gvanrossum, hroncok, lys.nikolaou, miss-islington, ned.deily, nnemkin, pablogsal, terry.reedy, vstinner
Date 2020-12-02.01:07:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Hm, I wonder if there's a typo here in pythonrun.c:

/* For use in Py_LIMITED_API */
#undef Py_CompileString
PyObject *
PyCompileString(const char *str, const char *filename, int start)
    return Py_CompileStringFlags(str, filename, start, NULL);

Shouldn't that function be named Py_CompileString (i.e. Py_ instead of Py)?

This seems to be old code, but there's normally a macro Py_CompileString() that translates to Py_CompileStringFlags() in pythonrun.h:

PyAPI_FUNC(PyObject *) Py_CompileString(const char *, const char *, int);
#define Py_CompileString(str, p, s) Py_CompileStringExFlags(str, p, s, NULL, -1)
#define Py_CompileStringFlags(str, p, s, f) Py_CompileStringExFlags(str, p, s, f, -1)
Date User Action Args
2020-12-02 01:07:27gvanrossumsetrecipients: + gvanrossum, terry.reedy, vstinner, ned.deily, nnemkin, Igor.Skochinsky, hroncok, lys.nikolaou, pablogsal, miss-islington, brandtbucher
2020-12-02 01:07:27gvanrossumsetmessageid: <>
2020-12-02 01:07:27gvanrossumlinkissue40939 messages
2020-12-02 01:07:27gvanrossumcreate