2021-06-29 | Paul Boddie | file changeset files shortlog | Renamed the utf8string class to unicode, eliminating the unicode function. This means that the simple case of merely returning an object if it is already a Unicode object no longer occurs when using the unicode callable, but such behaviour might be better supported with more general customised instantiation functionality. |
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() |