Port of FogBugzPy to Python3