@@ -145,16 +145,16 @@ void output_object(PycRef<PycObject> obj, PycModule* mod, int indent,
145145 iputs (pyc_output, indent + 1 , " [Disassembly]\n " );
146146 bc_disasm (pyc_output, codeObj, mod, indent + 2 , flags);
147147
148+ if (mod->verCompare (3 , 11 ) >= 0 ) {
149+ iputs (pyc_output, indent + 1 , " [Exception Table]\n " );
150+ bc_exceptiontable (pyc_output, codeObj, indent+2 );
151+ }
152+
148153 if (mod->verCompare (1 , 5 ) >= 0 && (flags & Pyc::DISASM_PYCODE_VERBOSE) != 0 ) {
149154 iprintf (pyc_output, indent + 1 , " First Line: %d\n " , codeObj->firstLine ());
150155 iputs (pyc_output, indent + 1 , " [Line Number Table]\n " );
151156 output_object (codeObj->lnTable ().cast <PycObject>(), mod, indent + 2 , flags, pyc_output);
152157 }
153-
154- if (mod->verCompare (3 , 11 ) >= 0 && (flags & Pyc::DISASM_PYCODE_VERBOSE) != 0 ) {
155- iputs (pyc_output, indent + 1 , " [Exception Table]\n " );
156- output_object (codeObj->exceptTable ().cast <PycObject>(), mod, indent + 2 , flags, pyc_output);
157- }
158158 }
159159 break ;
160160 case PycObject::TYPE_STRING:
0 commit comments