Py3k

Support for Python 3.x, backwards compatible to at least 2.6. The changes are very simple/minimal. All that was needed was for the raise statements to use the more modern syntax.
I also `cherry-pick`ed the classifiers from @etjones.