Get almost everything working under Python 2.6

Except for exception introspection.