News for hackers. Stuff that matters.
Re:The PEPs of Python 3.9 by owl57 on Thursday May 28, 2020 @10:36PM (#23345737)
What's the problem with ternaries?
Re:The PEPs of Python 3.9 by mark-r on Thursday May 28, 2020 @11:04PM (#23345876)
One of the two possible sub-expressions isn't used.
Re:The PEPs of Python 3.9 by mkl on Friday May 29, 2020 @01:29AM (#23346546)
It's also not evaluated. There is no discarding, so there would be no problem.