Éric Araujo <merwok at netwok.org> added the comment: Out of curiosity: Any reason you used a containment test with a list instead of a set (IMO more idiomatic, and in 3.2+ also optimized)? I guess it’s to match the rest of the file, but using sets would not change any behavior. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue11926> _______________________________________