2021-10-31 | Paul Boddie | file changeset files shortlog | Introduced a dedicated integer type based on ssize_t. This allows integers to be used for sizes and lengths in native and low-level operations whilst also supporting their storage in the same amount of space as a pointer, thus avoiding the inflation of attributes that might occur if a larger type were chosen. |
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() |