OptionalfilenameSource filename to associate with parse errors and the resulting AST (informational only).
OptionalcommentsWhen true, comments are lexed and attached to the AST (as Comment nodes / inlineComment) instead of being discarded.
Optionalfeature_Target Python feature version; currently unused but reserved for future version-gated syntax.
Options controlling how parse lexes and parses Python source.