2020-07-16 | Paul Boddie | file changeset files shortlog | Fixed int limit macros by actually using the size of the int type. For wider types such as long, which may be usable on 64-bit platforms in place of int, 1L would need to be used instead of 1 in the calculation. An abstract native integer type might be introduced here and to the native library to allow wider types if appropriate. |
paul@437 | 1 | """ |
paul@437 | 2 | Various flags used during the compilation process. |
paul@437 | 3 | """ |
paul@437 | 4 | |
paul@437 | 5 | PyCF_SOURCE_IS_UTF8 = 0x0100 |
paul@437 | 6 | PyCF_DONT_IMPLY_DEDENT = 0x0200 |
paul@437 | 7 | PyCF_ONLY_AST = 0x0400 |
paul@437 | 8 | PyCF_ACCEPT_NULL_BYTES = 0x10000000 # PyPy only, for compile() |