Skip to content

Comments

Proper parsing of next attribute after valueless#13

Merged
charliermarsh merged 3 commits intoastral-sh:mainfrom
DmitryBochkarev:fix-values-parsing-fix-tl-70
Nov 17, 2025
Merged

Proper parsing of next attribute after valueless#13
charliermarsh merged 3 commits intoastral-sh:mainfrom
DmitryBochkarev:fix-values-parsing-fix-tl-70

Conversation

@DmitryBochkarev
Copy link

Fix y21#70

Step back one position when encountering a valueless attribute so the parser can advance and parse the following attribute correctly.

DmitryBochkarev and others added 3 commits November 17, 2025 07:13
Fix y21#70

Step back one position when encountering a valueless attribute so the
parser can advance and parse the following attribute correctly.
@charliermarsh charliermarsh merged commit 22acd35 into astral-sh:main Nov 17, 2025
3 checks passed
charliermarsh added a commit that referenced this pull request Dec 6, 2025
## Summary

I don't know if this is the root cause of
astral-sh/uv#16937, but it does appear to be a
loop introduced in #13.
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.

Wrongly parses attribute if the preceding attribute is valueless

2 participants