Guido van Rossum email@example.com writes:
Let me propose a (hyper?)generalization: it could be combined with any binary operation, e.g. "a?+b" would mean "None if a is None else a+b".
I'd have read it as "None if a is None or b is None else a+b". If you want to only do it for one of the operands you should be explicit.
I'm not sure if I have a coherent argument for why this shouldn't apply to ?[, though.