mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
patch #683515: "Add unicode support to compile(), eval() and exec"
Incorporated nnorwitz's comment re. Py__USING_UNICODE.
This commit is contained in:
parent
4adc9abc32
commit
3aaf42c613
5 changed files with 61 additions and 9 deletions
|
@ -9,6 +9,7 @@ extern "C" {
|
|||
|
||||
#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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue