Skip to content

Fix #2372 - Allow custom TOML parser#2390

Merged
WebReflection merged 3 commits intopyscript:mainfrom
WebReflection:issue-2372
Oct 10, 2025
Merged

Fix #2372 - Allow custom TOML parser#2390
WebReflection merged 3 commits intopyscript:mainfrom
WebReflection:issue-2372

Conversation

@WebReflection
Copy link
Copy Markdown
Contributor

Description

This MR fixes #2372 by providing an extra config-parser attribute able to:

  • provide a custom/remote URL that must be a module and that exports either a parse utility or a default one
  • fallback to whatever we were falling back before

Changes

  • added logic to enable a custom parser

Checklist

  • I have checked make build works locally.
  • I have created / updated documentation for this change (if applicable).

@WebReflection WebReflection merged commit ec09092 into pyscript:main Oct 10, 2025
2 checks passed
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.

Single-quoted keys make pyscript fail silently. (TOML)

2 participants