2010/11/18 Lennart Regebro <regebro at gmail.com>: > I can't find a pattern that will match: > foo > But not > bar.foo > > Any hints? It's usually best to do something like "is_probably_builtin" in lib2to3/fixer_utils.py. -- Regards, Benjamin