Mercurial > cpython-lru_cache-weakref
diff 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 |
line wrap: on
line diff
--- a/Include/pythonrun.h Mon Feb 10 03:10:43 2003 +0000 +++ b/Include/pythonrun.h Mon Feb 10 08:21:10 2003 +0000 @@ -9,6 +9,7 @@ #define PyCF_MASK (CO_FUTURE_DIVISION) #define PyCF_MASK_OBSOLETE (CO_GENERATOR_ALLOWED | CO_NESTED) +#define PyCF_SOURCE_IS_UTF8 0x0100 typedef struct { int cf_flags; /* bitmask of CO_xxx flags relevant to future */
