Skip to content

Fix PEP 723 script tag discovery - #99

Draft
zanieb wants to merge 1 commit into
mainfrom
zb/bughunt100/041-pep723-prefix-shadow
Draft

Fix PEP 723 script tag discovery#99
zanieb wants to merge 1 commit into
mainfrom
zb/bughunt100/041-pep723-prefix-shadow

Conversation

@zanieb

@zanieb zanieb commented Jul 16, 2026

Copy link
Copy Markdown
Member

An earlier inline opener such as pass # /// script or an unrelated # /// script-extra can hide a later valid PEP 723 script block. Recognize only exact standalone openers and continue scanning unrelated block types.

See the inline-script metadata specification.

Preserve the duplicate complete-block rejection recently added in uv#19544 for uv#18617.

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.

1 participant