On Thu, May 03, 2018 at 04:32:09PM +1000, Steven D'Aprano wrote: > Maybe I'm slow today, but I'm having trouble seeing how to write this as > a lambda.
Yes, I was definitely having a "cannot brain, I have the dumb" day, because it is not that hard to write using lambda. See discussion here: https://mail.python.org/pipermail/python-list/2018-May/732795.html If anything, the problem is a plethora of choices, where it isn't clear which if any is the best way, or the One Obvious Way. -- Steve _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/