ignore the coding cookie in compile(), exec(), and eval() if the source is a string #4626
diff --git a/Include/parsetok.h b/Include/parsetok.h
index 81f1771..fa402f8 100644
--- a/Include/parsetok.h
+++ b/Include/parsetok.h
@@ -29,6 +29,8 @@
#define PyPARSE_UNICODE_LITERALS 0x0008
#endif
+#define PyPARSE_IGNORE_COOKIE 0x0010
+
PyAPI_FUNC(node *) PyParser_ParseString(const char *, grammar *, int,
perrdetail *);
PyAPI_FUNC(node *) PyParser_ParseFile (FILE *, const char *, grammar *, int,
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index e57b7f0..c909e1a 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -12,6 +12,7 @@
#define PyCF_SOURCE_IS_UTF8 0x0100
#define PyCF_DONT_IMPLY_DEDENT 0x0200
#define PyCF_ONLY_AST 0x0400
+#define PyCF_IGNORE_COOKIE 0x0800
typedef struct {
int cf_flags; /* bitmask of CO_xxx flags relevant to future */