I think this one is even simpler to illustrate the change: class Foo: def __dir__(self): return ['a', 'b', 'c']
class Bar: def __dir__(self): return ('a', 'b', 'c') print dir(Foo()) print dir(Bar()) AFAICT, in Python 2.7.1 you get two lines of ['a', 'b', 'c'] while in 2.7.2rc2, the second line gives you the TypeError. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python 2.7.2rc1 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs