See my comment about Python 3. I think we could make this work for any Python version.