[Python-ideas] while conditional in list comprehension ??

Yuriy Taraday yorik.sar at gmail.com
Wed Jan 30 18:56:51 CET 2013


On Wed, Jan 30, 2013 at 1:46 PM, Wolfgang Maier <
wolfgang.maier at biologie.uni-freiburg.de> wrote:

> your condition is 'partial(lt,50)', but this is not met to begin with and
> results in an empty list at least for me. Have you two actually checked the
> output of the code or have you just timed it?
>

Yeah. Shame on me. You're right. My belief in partial and operator module
has been shaken.

-- 

Kind regards, Yuriy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130130/d5d9fbd0/attachment.html>


More information about the Python-ideas mailing list