Revert "Optimization for IOMemory's __all_triples. fixes #318"

This reverts commit 442c36baaae34cf293399239070202fc0828a554 as it
seems to break some tests on python 3.3