On September 28, 2015 5:50:15 AM CDT, Koos Zevenhoven
On 25 September 2015 at 09:07, Alessio Bogon
wrote: I really like PEP 0505. The only thing that does not convince me is
On Mon, Sep 28, 2015 at 10:13 AM, Nick Coghlan
wrote: the `??` operator. I would like to know what you think of an alternative like `or?`: a_list = some_list or? [] a_dict = some_dict or? {}
And have the following syntax options been considered?
a_list = some_list else []
This one's ambiguous. How would you parse: x if a else b else c As: x if (a else b) else c Or: x if a else (b else c)
a_list = some_list or [] if None
-- Koos _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
-- Sent from my Nexus 5 with K-9 Mail. Please excuse my brevity.