Files
yt-local/settings.py
Jesus 550457936a
All checks were successful
CI / test (push) Successful in 51s
fix(settings): add AST compatibility for Python 3.12+
* Use `ast.Constant` as primary node for Python 3.8+
* Maintain backward compatibility with `ast.Num`, `ast.Str`, and `ast.NameConstant`
* Prevent crashes on Python 3.12 where legacy nodes were removed
* Add safe handling via `try/except AttributeError`
2026-04-11 12:43:17 -05:00

18 KiB