On 10/3/2018 8:47 PM, Tim Peters wrote:
Note that transforming
{EXPR!d:FMT}
into
EXPR={repr(EXPR):FMT}
is actually slightly more involved than transforming it into
EXPR={EXPR:FMT}
so I don't buy the argument that the original idea is simpler. More
magical and less useful, yes ;-)
Actually, my proposal is to apply FMT to the entire result of
EXPR={repr(EXPR)}, not just the repr(EXPR) part. I'm not sure either is
particularly useful.
Eric
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/