Using 'except [type], [var]:' instead of 'except [type] as [var]:', which doesn't work in Python 2.5