Work around a 2to3 bug more simply. PYTHON-494