Re: [Python-Dev] PEP-498 & PEP-501: Literal String Formatting/Interpolation

2015-08-16 Thread Peter Ludemann via Python-Dev
How is this proposal of di"..." more than a different spelling of lambda i"..."? (I think it's a great idea — but am wondering if there are some extra semantics that I missed) I don't think there's any need to preserve the values of the {...} (or ${...}) constituents — the normal closure mechanism

Re: [Python-Dev] PEP-498 & PEP-501: Literal String Formatting/Interpolation

2015-08-16 Thread Gregory P. Smith
On Sun, Aug 9, 2015 at 3:25 PM Brett Cannon wrote: > > On Sun, Aug 9, 2015, 13:51 Peter Ludemann via Python-Dev < > python-dev@python.org> wrote: > > Most of my outputs are log messages, so this proposal won't help me > because (I presume) it does eager evaluation of the format string and the > l