What about 'otherwise'?

x = a otherwise b


On September 29, 2015 6:57:39 PM CDT, Andrew Barnert via Python-ideas <python-ideas@python.org> wrote:
LOn Sep 29, 2015, at 16:27, Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:

Emile van Sebille wrote:

x = foo nor 'foo was None'

Cute, but unfortunately it conflicts with established
usage of the word 'nor', which would suggest that
a nor b == not (a or b).

Agreed. If this is going to be a keyword rather than a symbol, it really has to read like English, or at least like abbreviated English, with the right meaning--something like "foo, falling back to 'foo was None' if needed". Something that reads like English with a completely different meaning is a bad idea.



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.
CURRENTLY LISTENING TO: Vermilion Fire (Final Fantasy Type-0)