Skip to content
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

PEP 750: Updates after community feedback #4124

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

davepeck
Copy link
Contributor

@davepeck davepeck commented Nov 18, 2024

Updates include:

  • Addition of typed convenience accessors to Template, including strings, interpolations, and values.
  • New discussion of the relationship between t-strings and old-style format strings, along with example code
  • Improved discussion of laziness/delayed binding
  • Describe Template.__hash__()
  • Make Template.args explicitly be a tuple
  • Bugfix the description of debug specifier behavior

Thanks to @lysnikolaou @koxudaxi @pauleveritt @jimbaker and everyone in recent discussion threads for all the useful feedback.

I opened a new Discourse thread for this updated PR.


📚 Documentation preview 📚: https://pep-previews--4124.org.readthedocs.build/

@hugovk hugovk changed the title Updates to PEP 750 after community feedback PEP 750: Updates after community feedback Nov 18, 2024
peps/pep-0750.rst Outdated Show resolved Hide resolved
@AA-Turner AA-Turner self-requested a review November 18, 2024 18:40
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.

3 participants