Subj : [$] Custom string formatters in Python To : All From : LWN.net Date : Fri Aug 16 2024 17:00:05 [$] Custom string formatters in Python Date: Fri, 16 Aug 2024 15:52:18 +0000 Description: Python has had formatted string literals ( f-strings ), a syntactic shorthand for building strings, since 2015. Recently, Jim Baker, Guido van Rossum, and Paul Everitt have proposed PEP 750 ("Tag Strings For Writing Domain-Specific Languages") which would generalize and expand that mechanism to provide Python library writers with additional flexibility. Reactions to the proposed change were somewhat positive, although there was a good deal of discussion of (and opposition to) the PEP's inclusion of lazy evaluation of template parameters. ====================================================================== Link to news story: https://lwn.net/Articles/985346/ --- Mystic BBS v1.12 A47 (Linux/64) * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100) .