List comprehension vs filter()

Chris Angelico rosuav at gmail.com
Tue Apr 19 23:59:42 EDT 2011


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



More information about the Python-list mailing list