Skip to content

Fix PEP 723 script tag discovery - #109

Closed
zaniebot wants to merge 1 commit into
mainfrom
zb/bughunt100/041-pep723-prefix-shadow
Closed

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

Conversation

@zaniebot

@zaniebot zaniebot commented Jul 14, 2026

Copy link
Copy Markdown
Owner

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.

Moved to: astral-sh/uv-dev#99.

@zaniebot zaniebot closed this Jul 16, 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.

2 participants