@@ -154,16 +154,16 @@ void output_object(PycRef<PycObject> obj, PycModule* mod, int indent,
154154 iputs (pyc_output, indent + 1 , " [Disassembly]\n " );
155155 bc_disasm (pyc_output, codeObj, mod, indent + 2 , flags);
156156
157+ if (mod->verCompare (3 , 11 ) >= 0 ) {
158+ iputs (pyc_output, indent + 1 , " [Exception Table]\n " );
159+ bc_exceptiontable (pyc_output, codeObj, indent+2 );
160+ }
161+
157162 if (mod->verCompare (1 , 5 ) >= 0 && (flags & Pyc::DISASM_PYCODE_VERBOSE) != 0 ) {
158163 iprintf (pyc_output, indent + 1 , " First Line: %d\n " , codeObj->firstLine ());
159164 iputs (pyc_output, indent + 1 , " [Line Number Table]\n " );
160165 output_object (codeObj->lnTable ().cast <PycObject>(), mod, indent + 2 , flags, pyc_output);
161166 }
162-
163- if (mod->verCompare (3 , 11 ) >= 0 && (flags & Pyc::DISASM_PYCODE_VERBOSE) != 0 ) {
164- iputs (pyc_output, indent + 1 , " [Exception Table]\n " );
165- output_object (codeObj->exceptTable ().cast <PycObject>(), mod, indent + 2 , flags, pyc_output);
166- }
167167 }
168168 break ;
169169 case PycObject::TYPE_STRING:
0 commit comments