PR #216: python 3 compatibility fix