mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
the old CO_FUTURE flags can't be commented out
This commit is contained in:
parent
c963731bb6
commit
466a7822c1
3 changed files with 8 additions and 3 deletions
|
@ -7,7 +7,9 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define PyCF_MASK CO_FUTURE_BARRY_AS_BDFL
|
||||
#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
|
||||
CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
|
||||
CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL)
|
||||
#define PyCF_MASK_OBSOLETE 0
|
||||
#define PyCF_SOURCE_IS_UTF8 0x0100
|
||||
#define PyCF_DONT_IMPLY_DEDENT 0x0200
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue