Re: [Python-ideas] PEP 505: None-aware operators

2018-07-22 Thread Peter J. Holzer
abet, I don't know how somebody who had to learn the Latin alphabet specifically for programming would cope. It's probably like programming in APL. I guess I could learn PerlYuYan[1] to find out ;-). hp [1] https://metacpan.org/pod/Lingua::Sinica::PerlYuYan -- _ | Peter J. Ho

Re: [Python-ideas] PEP 505: None-aware operators

2018-07-22 Thread Peter J. Holzer
t and request.context and request.context.user and request.context.user.email is not equivalent even if you assume that None is the only possible falsey value in this context. It evaluates request 4 times, request.context 3 times, and request.context.user 2 times. hp -- _ | Peter J.