Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use literal syntax in origin property#119029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
hauntsaninja merged 1 commit intopython:mainfromrffontenelle:patch-2
May 16, 2024

Conversation

rffontenelle
Copy link
Contributor

@rffontenellerffontenelle commentedMay 14, 2024
edited by github-actionsbot
Loading

Without this syntax markup, a translator translating library/importlib.metadata.rst could think that "origin" should be translated when the context shows it is a property name for Distribution class.

The context is:

For editable packages, an origin property may present PEP 610 metadata:

>>> dist.origin.url
'file:///path/to/wheel-0.32.3.editable-py3-none-any.whl'


📚 Documentation preview 📚:https://cpython-previews--119029.org.readthedocs.build/

@hauntsaninjahauntsaninja merged commit66b73e9 intopython:mainMay 16, 2024
@miss-islington-app
Copy link

Thanks@rffontenelle for the PR, and@hauntsaninja for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 16, 2024
(cherry picked from commit66b73e9)Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
@miss-islington-app
Copy link

Sorry,@rffontenelle and@hauntsaninja, I could not cleanly backport this to3.12 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker 66b73e9724fc376715ae264c8282dc1e981e4f17 3.12

@bedevere-app
Copy link

GH-119083 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelMay 16, 2024
@hauntsaninjahauntsaninja removed the needs backport to 3.12only security fixes labelMay 16, 2024
hauntsaninja pushed a commit that referenced this pull requestMay 16, 2024
Use literal syntax in origin property (GH-119029)(cherry picked from commit66b73e9)Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
@rffontenellerffontenelle deleted the patch-2 branchJuly 11, 2024 07:54
estyxx pushed a commit to estyxx/cpython that referenced this pull requestJul 17, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@JelleZijlstraJelleZijlstraJelleZijlstra approved these changes

@hauntsaninjahauntsaninjahauntsaninja approved these changes

@brettcannonbrettcannonAwaiting requested review from brettcannonbrettcannon is a code owner

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrentlyericsnowcurrently is a code owner

@ncoghlanncoghlanAwaiting requested review from ncoghlanncoghlan is a code owner

@warsawwarsawAwaiting requested review from warsawwarsaw is a code owner

Assignees

@hauntsaninjahauntsaninja

Labels
docsDocumentation in the Doc dirskip issueskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@rffontenelle@JelleZijlstra@hauntsaninja

[8]ページ先頭

©2009-2025 Movatter.jp