You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I explained on Friday, the use of format() in many places is required to support translation, which is currently an ongoing initiative for v4.0. Please do not start making blanket changes to format strings until that work has been completed.
In the meantime, I'll point out that there are currently 41 open bug reports looking for owners.
We can continue to replace calls to format() opportunistically where appropriate, but I don't think we'll ever be in a place to justify the effort of a concerted audit for this.
Proposed Changes
Replacing any instance of format() with f-strings.
Justification
As per @jsenecal in #13296 f-strings offer some minor optimizations for performance and code readability.
We should replace format() where possible
The text was updated successfully, but these errors were encountered: