On 10/05/18 14:44, Guido van Rossum wrote:
I'm sorry, but unless there's a sudden landslide of support for 'given' in
favor of ':=', I'm really not going to consider it.

OK, this is my ha'p'th in favour of 'given', for what little it's worth. The more I see of general assignment expressions, the less I like them. All I really want is a less clumsy way to write

    while true:
        thing_to_do = get_something_to_do()
        if thing_to_do == GET_OUT_OF_HERE:
            break
        # else do stuff

--
Rhodri James *-* Kynesim Ltd
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to