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


Groups > comp.lang.python > #3646

Re: List comprehension vs filter()

References <BANLkTin4KMcoWzfH64Eu=+sD9=M3TaAu2A@mail.gmail.com> <BANLkTinVhX1jDd5brOh1D1m4zU5R8pEoSQ@mail.gmail.com> <BANLkTimvUPXRKOvGNqDzNCJp0UuWT1AkVg@mail.gmail.com> <BANLkTimmfwZ5dB+Vt8S2-rYAwS4axvn8og@mail.gmail.com>
Date 2011-04-20 13:59 +1000
Subject Re: List comprehension vs filter()
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.611.1303271986.9059.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Apr 20, 2011 at 1:45 PM, Chris Rebert <clp2@rebertia.com> wrote:
> Built-ins aren't quite the same as globals, but essentially yes:

Sure. That might explain some of the weirdness, but it doesn't explain
why things were still weird with the variable named posttype. However,
since the list comp appears to work, I'm going with that... would love
to know what's going on, but at least things aren't utterly b0rked
like they were two hours ago!

Chris Angelico

Back to comp.lang.python | Previous | NextNext in thread | Find similar


Thread

Re: List comprehension vs filter() Chris Angelico <rosuav@gmail.com> - 2011-04-20 13:59 +1000
  Re: List comprehension vs filter() Tim Roberts <timr@probo.com> - 2011-04-20 00:16 -0700
    Re: List comprehension vs filter() Chris Angelico <rosuav@gmail.com> - 2011-04-20 18:36 +1000
      Re: List comprehension vs filter() Mel <mwilson@the-wire.com> - 2011-04-20 10:12 -0400

csiph-web