@mdboom - is this correct? For some reason I ran into the issue that ``flags`` does not exist in Python 2.6 but didn't figure out why the issue didn't appear before.