py3 doesn't have nested, py2.6 doesn't have multiple context managers