Python Migration Error: TypeError: exceptions must be old-style classes or derived from BaseException, not str
Terry Reedy
tjreedy at udel.edu
Mon Oct 10 15:26:35 EDT 2011
On 10/10/2011 11:13 AM, 88888 dihedral wrote:
> I am thinking with the power of python evolving in different
> versions, if a feature is not desired in the new version, then the
> new version could also provide some script tools, of course in
> python, to convert codes in old styles into new styles
> automatically.
That is what the 2to3 script does. It could use some updating. A 3to2
script using the same tools is available somewhere. Someone could write
a 32to33 script for the few things removed in 3.3.
--
Terry Jan Reedy
More information about the Python-list
mailing list