Python 3 support and comment reset format (why is it there)