Mercurial > cpython-lru_cache-weakref
comparison Include/pythonrun.h @ 27781:cc01fb654ce3 legacy-trunk
patch #683515: "Add unicode support to compile(), eval() and exec"
Incorporated nnorwitz's comment re. Py__USING_UNICODE.
| author | Just van Rossum <just@letterror.com> |
|---|---|
| date | Mon, 10 Feb 2003 08:21:10 +0000 |
| parents | bda4185670cc |
| children | be7683a6f521 |
comparison
equal
deleted
inserted
replaced
| 27780:dd1130253f10 | 27781:cc01fb654ce3 |
|---|---|
| 7 extern "C" { | 7 extern "C" { |
| 8 #endif | 8 #endif |
| 9 | 9 |
| 10 #define PyCF_MASK (CO_FUTURE_DIVISION) | 10 #define PyCF_MASK (CO_FUTURE_DIVISION) |
| 11 #define PyCF_MASK_OBSOLETE (CO_GENERATOR_ALLOWED | CO_NESTED) | 11 #define PyCF_MASK_OBSOLETE (CO_GENERATOR_ALLOWED | CO_NESTED) |
| 12 #define PyCF_SOURCE_IS_UTF8 0x0100 | |
| 12 | 13 |
| 13 typedef struct { | 14 typedef struct { |
| 14 int cf_flags; /* bitmask of CO_xxx flags relevant to future */ | 15 int cf_flags; /* bitmask of CO_xxx flags relevant to future */ |
| 15 } PyCompilerFlags; | 16 } PyCompilerFlags; |
| 16 | 17 |
