List comprehension vs filter()

Chris Angelico rosuav at
Wed Apr 20 05:59:42 CEST 2011

On Wed, Apr 20, 2011 at 1:45 PM, Chris Rebert <clp2 at> 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

More information about the Python-list mailing list