add support for python 3.2 and 3.3, retain backward compatibility
Merge pull request #43 from brad/py3k

add support for Python 3.2 and 3.3, retain backward compatibility