Skip to content

fix Python 3.8 ast export - #193

Draft
TiberiusNemesis wants to merge 1 commit into
gems-uff:masterfrom
TiberiusNemesis:codex/fix-python38-ast-export
Draft

fix Python 3.8 ast export#193
TiberiusNemesis wants to merge 1 commit into
gems-uff:masterfrom
TiberiusNemesis:codex/fix-python38-ast-export

Conversation

@TiberiusNemesis

@TiberiusNemesis TiberiusNemesis commented Jun 12, 2026

Copy link
Copy Markdown

Fixes #192

now export ast was passing indent=2 to ast.dump, but that kwarg only exists on Python 3.9+. the package still allows Python 3.8, so this keeps the current version floor.

so theses change basically:

  • use indented AST output on Python 3.9+
  • use plain ast.dump on Python 3.8
  • add focused tests for both branches

@TiberiusNemesis TiberiusNemesis changed the title [codex] fix Python 3.8 ast export fix Python 3.8 ast export Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

now export ast not working on python 3.8

1 participant