#29988: Use f-strings for string formatting once support for Python 3.5 is
dropped
-------------------------------------+-------------------------------------
Reporter: Jaap Roes | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Core (Other) | Version:
Severity: Normal | Resolution:
Keywords: fstrings python3.6 | Triage Stage:
| Someday/Maybe
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
I am in favor well where it makes sense and has clear readability
benefits. I don't have strong rules to provide but I've already seen this
feature abused in the wild to compose complex formatting string which
makes hard to differentiate placeholders from their delimiters when
function calls are involved.
I also share you Claude's concerns about error messages and logging
message templates.
--
Ticket URL: <https://code.djangoproject.com/ticket/29988#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.61c1b4306e5c6cc709bac8f78ed05adb%40djangoproject.com.