diff Include/pythonrun.h @ 51956:8fe2988cf550

ignore the coding cookie in compile(), exec(), and eval() if the source is a string #4626
author Benjamin Peterson <benjamin@python.org>
date Mon, 02 Mar 2009 23:31:26 +0000
parents b1f4ea4eb555
children 0530aadff696
line wrap: on
line diff
--- a/Include/pythonrun.h	Mon Mar 02 23:06:00 2009 +0000
+++ b/Include/pythonrun.h	Mon Mar 02 23:31:26 2009 +0000
@@ -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 */