FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Avoid false metadata matches in strings by jw9829 · Pull Request #2139 · pypa/packaging.python.org · GitHub

Repository navigation

Avoid false metadata matches in strings - #2139

Open
jw9829 wants to merge 1 commit into
pypa:mainfrom
jw9829:recommend-inline-metadata-in-strings
Open

jw9829 wants to merge 1 commit into
pypa:mainfrom
jw9829:recommend-inline-metadata-in-strings

Conversation

jw9829 commented Sep 27, 2026 •
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor

Show how adjacent string literals keep a # /// script line from being mistaken for metadata by a simple scanner.

Fixes #1835.


📚 Documentation preview 📚: https://python-packaging-user-guide--2139.org.readthedocs.build/en/2139/

henryiii force-pushed the recommend-inline-metadata-in-strings branch from b7e4c9d to 4dcf6d3 Compare October 29, 2026 13:40
rgommers added type: enhancement A self-contained enhancement or new feature component: specifications labels Nov 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: specifications type: enhancement A self-contained enhancement or new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add recommendation for "escaping" quoted inline script metadata

2 participants


Back | FazBrowse Home | New Git URL