Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52003 > unrolled thread

Re: [Python-ideas] Allow filter(items)

Started byChris Angelico <rosuav@gmail.com>
First post2013-08-06 09:25 +0100
Last post2013-08-06 09:25 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [Python-ideas] Allow filter(items) Chris Angelico <rosuav@gmail.com> - 2013-08-06 09:25 +0100

#52003 — Re: [Python-ideas] Allow filter(items)

FromChris Angelico <rosuav@gmail.com>
Date2013-08-06 09:25 +0100
SubjectRe: [Python-ideas] Allow filter(items)
Message-ID<mailman.230.1375777518.1251.python-list@python.org>
On Tue, Aug 6, 2013 at 9:23 AM, Serhiy Storchaka <storchaka@gmail.com> wrote:
> 06.08.13 10:34, Chris Angelico написав(ла):
>
>> Okay. Sounds like there's already an answer to those who want more
>> readability: Just use filter(bool,...). Maybe I'm just not seeing the
>> obvious problem with this version?
>
>
> Are `if bool(...)` or `if bool(...) == True` more readable than `if ...`?

They're more readable than 'if None(...)' is.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web