From f5b52246ed8a1191c3aa1da7d3c63bbe11aee020 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 2 Mar 2009 23:31:26 +0000 Subject: ignore the coding cookie in compile(), exec(), and eval() if the source is a string #4626 --- Include/pythonrun.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Include/pythonrun.h') 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 */ -- cgit v1.2.1