workarounds for python 3.2.3
Merge pull request #2 from thoka/master

workarounds for python 3.2.3