G
Grant Edwards
This is _not_ what I said.
Quoting from my earlier post:
"""
This syntax does not fit well within python ideology.
This could be simplified to just:
return expr or None
"""
You just said it again: that the OP's "return? expr" is the same as
"return exrp or None". It isn't. The OP's construct didn't return
if expr wasn't true. Your construt does.
Please read carefully before putting words in my mouth.
I wasn't putting words in your mouth. You said the same thing again
in the post to whic I'm replying.
I stated very clear y that return? expr didn't seem fitting
in the python ideology as syntax for this behavior.
I don't care about syntax. What you proposed doesn't have the same
_semantics_ as what the OP proposed.