On Sun, May 8, 2016 at 2:40 PM, DFS <nos...@dfs.com> wrote: >>> It says "Used builtin function 'filter'. Using a list comprehension can >>> be >>> clearer. (bad-builtin)" >> >> >> Kill that message and keep using filter. > > > > Unfortunately, 'bad-builtin' caught 2 truly bad uses of built-ins (zip() and > id()), so I'll leave that warning in. >
Hrm, that would be called "shadowing" built-ins, not bad use of them. Shadowing isn't usually a problem - unless you actually need id(), there's nothing wrong with using the name id for a database key. Very different from this message though. ChrisA -- https://mail.python.org/mailman/listinfo/python-list