except syntax support py3