Terry J. Reedy <tjreedy at udel.edu> added the comment: After adding parens, >>> [x for x in [] if (lambda: x)] [] ---------- nosy: +terry.reedy _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue41848> _______________________________________