* bzrlib/tests/test_registry.py: (TestRegistryIter): Test some corner cases where object are registered while the registry is iterated.
* bzrlib/registry.py: (Registry): iteritems() and items() have different intents, don't mix them under the covers or devs get tricked (see bug #277048 which seemed to have fixed the issue).