-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
PEP 750: restrict support for Template
+ str
addition
#4395
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Adding the label to prevent inadvertent merging before pronouncement |
I've updated this PR to match the steering council decision on template concatenation. /cc @AA-Turner |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @davepeck ! LGTM, with one very minor grammatical suggestion.
Commit Barry’s suggestion Co-authored-by: Barry Warsaw <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
PEP 123: Summary of changes
)Following this PR opened with the steering-council and related discussion, we propose an update to PEP 750 that:
Template
/Template
concatenation (both implicit and explicit)Template
/str
concatenation (both implicit and explicit)A rationale is provided and the two relevant sections of the PEP are updated (
"Template String Concatenation"
and, in rejected ideas,"Disallowing Template Concatenation"
).📚 Documentation preview 📚: https://pep-previews--4395.org.readthedocs.build/