objects: disable len(), caused problems for list()
test_cli: replace stdin for test_excepthook
optimize various iterators
spy/core: make chain an iterator again