diff options
| author | Benjamin Peterson <benjamin@python.org> | 2009-03-02 23:31:26 +0000 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2009-03-02 23:31:26 +0000 |
| commit | d9a6e17352a6d8e333c4782718cc99aec6d536e6 (patch) | |
| tree | 25e0b7853076a58617b90f14754351cab385f967 /Include/pythonrun.h | |
| parent | 52b65a6a6818d27707d31495a00b01391378ab11 (diff) | |
| download | cpython-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.h | 1 |
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 */ |
