From: Alan I. <ala...@gm...> - 2018-01-03 13:56:54
|
I'm guessing that 2to3 conversion is used to support Python 3, but somehow I recently managed to choke on: File "docutils\utils\math\tex2mathml_extern.py", line 130 print err Although this could be "fixed" with parentheses, but I'm guessing the very existence of this line is an oversight. Cheers, Alan Isaac PS While looking, I noticed old style exception syntax in use. I assume this is intentional (i.e., let the converter handle it) and that you know Python 2's except IOError, err: could be written without any need for 2to3 conversion as except IOError: err = sys.exc_info()[1] |