On 24 Feb 2014 18:52, "Chris Angelico" <rosuav@gmail.com> wrote:
On Mon, Feb 24, 2014 at 7:21 PM, Andrew Barnert <abarnert@yahoo.com>
wrote:
So, I think it is worth reviving and extending PEP 312. What would help most in getting that idea considered? Gathering more concrete examples? Buiilding an implementation? Both?
Examples are good. Especially if you can write a script that finds potentials. Feel free to use this script of mine as a basis:
https://github.com/Rosuav/ExceptExpr/blob/master/find_except_expr.py
Yep, real world examples have always been a challenge in these discussions. Just looking for existing lambda expressions in the stdlib might be a good starting point. Cheers, Nick.
ChrisA _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/