summaryrefslogtreecommitdiff
path: root/Include/pythonrun.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-03-02 23:31:26 +0000
committerBenjamin Peterson <benjamin@python.org>2009-03-02 23:31:26 +0000
commitd9a6e17352a6d8e333c4782718cc99aec6d536e6 (patch)
tree25e0b7853076a58617b90f14754351cab385f967 /Include/pythonrun.h
parent52b65a6a6818d27707d31495a00b01391378ab11 (diff)
downloadcpython-d9a6e17352a6d8e333c4782718cc99aec6d536e6.tar.gz
ignore the coding cookie in compile(), exec(), and eval() if the source is a string #4626
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r--Include/pythonrun.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index e57b7f0abb..c909e1a87a 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -12,6 +12,7 @@ extern "C" {
#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 */