[Python-ideas] Null coalescing operators
bussonniermatthias at gmail.com
Wed Sep 23 06:56:54 CEST 2015
> On Sep 22, 2015, at 19:43, MRAB <python at mrabarnett.plus.com> wrote:
> On 2015-09-23 02:21, Fernando Perez wrote:
>> On 2015-09-22 03:59:07 +0000, Andrew Barnert via Python-ideas said:
>> Finally, I want to emphasize that these things aren't really changing
>> much anymore, this is all fairly stable.All these choices have by now
>> stabilized, we only introduced the @ -> % transition when python 2.4
>> forced us, and more recently we introduced the notion of having a
>> double-%% marker for "cell magics", but that was ~ 4 years ago, and it
>> didn't require a new character, only allowing it to be doubled.
> From the examples I've seen, the "?" and "??" occur at the end of the line.
beginning of line can happened too.
is equivalent to
> The proposed 'operators' "?.", "?[", "?(" and "??" wouldn't occur at
> the end of the line (or, if they did, they'd be inside parentheses,
> brackets, or braces).
> So is there really a conflict, in practice?
As stated in previous mails, with current state of proposal
no it does not conflict, we should be able to distinguish the two cases.
We are just informing the pep authors and contributors of
the syntax hijack that we did and currently have in IPython.
> Python-ideas mailing list
> Python-ideas at python.org
> Code of Conduct: http://python.org/psf/codeofconduct/
More information about the Python-ideas