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/