> '?foo' or 'foo?' to mark a variable binding
I like that idea a lot, with a strong inclination for the '?foo' variant. Seeing the '?' first makes it clear right away that it's a special context. And it keeps it more distinct from the None-aware operators (from PEP 505, in case that gets adopted).
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/OOE4GZH4YLN6F7V2CK7ZHOW7NU3WY4E6/ Code of Conduct: http://python.org/psf/codeofconduct/