Construct CallCompiledFunctionPosArgsMutable

Performance Diagrams

Construct CallCompiledFunctionPosArgsMutable 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000130000000130000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)13313254088.11538461538461257.0CPython 3.1062760468240.03846153846155387.62187229704733Nuitka (main)62802650391.96153846153845387.5435757276748Nuitka (develop)62804344543.8846153846154387.54043139150025Nuitka (factory)Construct CallCompiledFunctionPosArgsMutableTicks Construct CallCompiledFunctionPosArgsMutable 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000CPython 3.8Nuitka (main)Nuitka (develop)Nuitka (factory)11814109788.11538461538461257.0CPython 3.861469221240.03846153846155375.54039610462894Nuitka (main)61467057391.96153846153845375.54492253705496Nuitka (develop)61463344543.8846153846154375.55268900821847Nuitka (factory)Construct CallCompiledFunctionPosArgsMutableTicks Construct CallCompiledFunctionPosArgsMutable 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000130000000130000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)13912138588.11538461538461257.0CPython 2.768910969240.03846153846155381.71176845922105Nuitka (main)68910969391.96153846153845381.71176845922105Nuitka (develop)68910969543.8846153846154381.71176845922105Nuitka (factory)Construct CallCompiledFunctionPosArgsMutableTicks

Source Code with Construct

    # construct_alternative



    return compiled_f


for x in itertools.repeat(None, 50000):
    calledRepeatedly()

print("OK.")

#     Python test originally created or extracted from other peoples work. The
#     parts from me are licensed as below. It is at least Free Software where
#     it's copied from other people. In these cases, that will normally be
#     indicated.
#
#     Licensed under the Apache License, Version 2.0 (the "License");
#     you may not use this file except in compliance with the License.
#     You may obtain a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#     Unless required by applicable law or agreed to in writing, software
#     distributed under the License is distributed on an "AS IS" BASIS,
#     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#     See the License for the specific language governing permissions and
#     limitations under the License.

Source Code without Construct

    # construct_alternative
    pass
    # construct_end

    return compiled_f


for x in itertools.repeat(None, 50000):
    calledRepeatedly()

print("OK.")

#     Python test originally created or extracted from other peoples work. The
#     parts from me are licensed as below. It is at least Free Software where
#     it's copied from other people. In these cases, that will normally be
#     indicated.
#
#     Licensed under the Apache License, Version 2.0 (the "License");
#     you may not use this file except in compliance with the License.
#     You may obtain a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#     Unless required by applicable law or agreed to in writing, software
#     distributed under the License is distributed on an "AS IS" BASIS,
#     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#     See the License for the specific language governing permissions and
#     limitations under the License.

Context Diff of Source Code


Construct
Baseline
13 def calledRepeatedly(): 13 def calledRepeatedly():
14     compiled_f = compiled_func 14     compiled_f = compiled_func
15     # This is supposed to make a call to a compiled function, which is 15     # This is supposed to make a call to a compiled function, which is
16     # being optimized separately. 16     # being optimized separately.
17     # construct_begin 17     # construct_begin
n 18     compiled_f(["some", "random", "values", "to", "check", "call"]) n
19     compiled_f([["some", "other", "values"], ["to", "check", "call"]])
20     # construct_alternative
21 18
22 19
t t 20     # construct_alternative
21     pass
22     # construct_end
23 23
24     return compiled_f 24     return compiled_f
25 25
26 26
27 for x in itertools.repeat(None, 50000): 27 for x in itertools.repeat(None, 50000):

Context Diff of Generated Code


Construct
Baseline
31 31
32 PyObject *module___main__; 32 PyObject *module___main__;
33 PyDictObject *moduledict___main__; 33 PyDictObject *moduledict___main__;
34 34
35 /* The declarations of module constants used, if any. */ 35 /* The declarations of module constants used, if any. */
n 36 static PyObject *mod_consts[17]; n 36 static PyObject *mod_consts[15];
37 #ifndef __NUITKA_NO_ASSERT__ 37 #ifndef __NUITKA_NO_ASSERT__
n 38 static Py_hash_t mod_consts_hash[17]; n 38 static Py_hash_t mod_consts_hash[15];
39 #endif 39 #endif
40 40
41 static PyObject *module_filename_obj = NULL; 41 static PyObject *module_filename_obj = NULL;
42 42
43 /* Indicator if this modules private constants were created yet. */ 43 /* Indicator if this modules private constants were created yet. */
48     if (constants_created == false) { 48     if (constants_created == false) {
49         loadConstantsBlob(tstate, &mod_consts[0], UNTRANSLATE("__main__")); 49         loadConstantsBlob(tstate, &mod_consts[0], UNTRANSLATE("__main__"));
50         constants_created = true; 50         constants_created = true;
51 51
52 #ifndef __NUITKA_NO_ASSERT__ 52 #ifndef __NUITKA_NO_ASSERT__
n 53         for (int i = 0; i < 17; i++) { n 53         for (int i = 0; i < 15; i++) {
54             mod_consts_hash[i] = DEEP_HASH(tstate, mod_consts[i]); 54             mod_consts_hash[i] = DEEP_HASH(tstate, mod_consts[i]);
55         } 55         }
56 #endif 56 #endif
57     } 57     }
58 } 58 }
68 #ifndef __NUITKA_NO_ASSERT__ 68 #ifndef __NUITKA_NO_ASSERT__
69 void checkModuleConstants___main__(PyThreadState *tstate) { 69 void checkModuleConstants___main__(PyThreadState *tstate) {
70     // The module may not have been used at all, then ignore this. 70     // The module may not have been used at all, then ignore this.
71     if (constants_created == false) return; 71     if (constants_created == false) return;
72 72
n 73     for (int i = 0; i < 17; i++) { n 73     for (int i = 0; i < 15; i++) {
74         assert(mod_consts_hash[i] == DEEP_HASH(tstate, mod_consts[i])); 74         assert(mod_consts_hash[i] == DEEP_HASH(tstate, mod_consts[i]));
75         CHECK_OBJECT_DEEP(mod_consts[i]); 75         CHECK_OBJECT_DEEP(mod_consts[i]);
76     } 76     }
77 } 77 }
78 #endif 78 #endif
83 static PyCodeObject *codeobj_168738e1cc0460f50b7798c75c77fa95; 83 static PyCodeObject *codeobj_168738e1cc0460f50b7798c75c77fa95;
84 /* For use in "MainProgram.c". */ 84 /* For use in "MainProgram.c". */
85 PyCodeObject *codeobj_main = NULL; 85 PyCodeObject *codeobj_main = NULL;
86 86
87 static void createModuleCodeObjects(void) { 87 static void createModuleCodeObjects(void) {
n 88     module_filename_obj = mod_consts[4]; CHECK_OBJECT(module_filename_obj); n 88     module_filename_obj = mod_consts[2]; CHECK_OBJECT(module_filename_obj);
89     codeobj_dc730259c91c5e21fa307e967ab49708 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[14], mod_consts[14], NULL, NULL, 0, 0, 0); 89     codeobj_dc730259c91c5e21fa307e967ab49708 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[12], mod_consts[12], NULL, NULL, 0, 0, 0);
90     codeobj_main = codeobj_dc730259c91c5e21fa307e967ab49708; 90     codeobj_main = codeobj_dc730259c91c5e21fa307e967ab49708;
n 91     codeobj_f0272038b35e8ebc84c72412829ef79e = MAKE_CODE_OBJECT(module_filename_obj, 13, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[8], mod_consts[8], mod_consts[15], NULL, 0, 0, 0); n 91     codeobj_f0272038b35e8ebc84c72412829ef79e = MAKE_CODE_OBJECT(module_filename_obj, 13, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[6], mod_consts[6], mod_consts[13], NULL, 0, 0, 0);
92     codeobj_168738e1cc0460f50b7798c75c77fa95 = MAKE_CODE_OBJECT(module_filename_obj, 9, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[0], mod_consts[0], mod_consts[16], NULL, 1, 0, 0); 92     codeobj_168738e1cc0460f50b7798c75c77fa95 = MAKE_CODE_OBJECT(module_filename_obj, 9, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[0], mod_consts[0], mod_consts[14], NULL, 1, 0, 0);
93 } 93 }
94 94
95 // The module function declarations. 95 // The module function declarations.
96 static PyObject *MAKE_FUNCTION___main__$$$function__1_compiled_func(); 96 static PyObject *MAKE_FUNCTION___main__$$$function__1_compiled_func();
97 97
145     NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; 145     NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
146     PyObject *exception_type = NULL; 146     PyObject *exception_type = NULL;
147     PyObject *exception_value = NULL; 147     PyObject *exception_value = NULL;
148     PyTracebackObject *exception_tb = NULL; 148     PyTracebackObject *exception_tb = NULL;
149     NUITKA_MAY_BE_UNUSED int exception_lineno = 0; 149     NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
n 150     NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; n
151     static struct Nuitka_FrameObject *cache_frame_f0272038b35e8ebc84c72412829ef79e = NULL; 150     static struct Nuitka_FrameObject *cache_frame_f0272038b35e8ebc84c72412829ef79e = NULL;
152     PyObject *tmp_return_value = NULL; 151     PyObject *tmp_return_value = NULL;
153     PyObject *exception_keeper_type_1; 152     PyObject *exception_keeper_type_1;
154     PyObject *exception_keeper_value_1; 153     PyObject *exception_keeper_value_1;
155     PyTracebackObject *exception_keeper_tb_1; 154     PyTracebackObject *exception_keeper_tb_1;
203             goto frame_exception_exit_1; 202             goto frame_exception_exit_1;
204         } 203         }
205         assert(var_compiled_f == NULL); 204         assert(var_compiled_f == NULL);
206         Py_INCREF(tmp_assign_source_1); 205         Py_INCREF(tmp_assign_source_1);
207         var_compiled_f = tmp_assign_source_1; 206         var_compiled_f = tmp_assign_source_1;
n 208     } n
209     {
210         PyObject *tmp_called_value_1;
211         PyObject *tmp_call_result_1;
212         PyObject *tmp_call_arg_element_1;
213         CHECK_OBJECT(var_compiled_f);
214         tmp_called_value_1 = var_compiled_f;
215         tmp_call_arg_element_1 = MAKE_LIST6(tstate, mod_consts[1]);
216         frame_f0272038b35e8ebc84c72412829ef79e->m_frame.f_lineno = 18;
217         tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tstate, tmp_called_value_1, tmp_call_arg_element_1);
218         Py_DECREF(tmp_call_arg_element_1);
219         if (tmp_call_result_1 == NULL) {
220             assert(HAS_ERROR_OCCURRED(tstate));
221  
222             FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb);
223  
224  
225             exception_lineno = 18;
226             type_description_1 = "o";
227             goto frame_exception_exit_1;
228         }
229         Py_DECREF(tmp_call_result_1);
230     }
231     {
232         PyObject *tmp_called_value_2;
233         PyObject *tmp_call_result_2;
234         PyObject *tmp_call_arg_element_2;
235         CHECK_OBJECT(var_compiled_f);
236         tmp_called_value_2 = var_compiled_f;
237         tmp_call_arg_element_2 = DEEP_COPY_LIST_GUIDED(tstate, mod_consts[2], "ll");
238         frame_f0272038b35e8ebc84c72412829ef79e->m_frame.f_lineno = 19;
239         tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tstate, tmp_called_value_2, tmp_call_arg_element_2);
240         Py_DECREF(tmp_call_arg_element_2);
241         if (tmp_call_result_2 == NULL) {
242             assert(HAS_ERROR_OCCURRED(tstate));
243  
244             FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb);
245  
246  
247             exception_lineno = 19;
248             type_description_1 = "o";
249             goto frame_exception_exit_1;
250         }
251         Py_DECREF(tmp_call_result_2);
252     } 207     }
253 208
254 209
255     // Put the previous frame back on top. 210     // Put the previous frame back on top.
256     popFrameStack(tstate); 211     popFrameStack(tstate);
312     exception_type = NULL; 267     exception_type = NULL;
313     exception_value = NULL; 268     exception_value = NULL;
314     exception_tb = NULL; 269     exception_tb = NULL;
315     exception_lineno = 0; 270     exception_lineno = 0;
316 271
n 317     Py_XDECREF(var_compiled_f); n
318     var_compiled_f = NULL;
319     // Re-raise. 272     // Re-raise.
320     exception_type = exception_keeper_type_1; 273     exception_type = exception_keeper_type_1;
321     exception_value = exception_keeper_value_1; 274     exception_value = exception_keeper_value_1;
322     exception_tb = exception_keeper_tb_1; 275     exception_tb = exception_keeper_tb_1;
323     exception_lineno = exception_keeper_lineno_1; 276     exception_lineno = exception_keeper_lineno_1;
374 327
375 328
376 static PyObject *MAKE_FUNCTION___main__$$$function__2_calledRepeatedly() { 329 static PyObject *MAKE_FUNCTION___main__$$$function__2_calledRepeatedly() {
377     struct Nuitka_FunctionObject *result = Nuitka_Function_New( 330     struct Nuitka_FunctionObject *result = Nuitka_Function_New(
378         impl___main__$$$function__2_calledRepeatedly, 331         impl___main__$$$function__2_calledRepeatedly,
n 379         mod_consts[8], n 332         mod_consts[6],
380 #if PYTHON_VERSION >= 0x300 333 #if PYTHON_VERSION >= 0x300
381         NULL, 334         NULL,
382 #endif 335 #endif
383         codeobj_f0272038b35e8ebc84c72412829ef79e, 336         codeobj_f0272038b35e8ebc84c72412829ef79e,
384         NULL, 337         NULL,
755 708
756     // Module code. 709     // Module code.
757     { 710     {
758         PyObject *tmp_assign_source_1; 711         PyObject *tmp_assign_source_1;
759         tmp_assign_source_1 = Py_None; 712         tmp_assign_source_1 = Py_None;
n 760         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_1); n 713         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[1], tmp_assign_source_1);
761     } 714     }
762     { 715     {
763         PyObject *tmp_assign_source_2; 716         PyObject *tmp_assign_source_2;
n 764         tmp_assign_source_2 = mod_consts[4]; n 717         tmp_assign_source_2 = mod_consts[2];
765         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_2); 718         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_2);
766     } 719     }
767     { 720     {
768         PyObject *tmp_assign_source_3; 721         PyObject *tmp_assign_source_3;
769         { 722         {
770             PyObject *hard_module = IMPORT_HARD___FUTURE__(); 723             PyObject *hard_module = IMPORT_HARD___FUTURE__();
n 771             tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tstate, hard_module, mod_consts[6]); n 724             tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tstate, hard_module, mod_consts[4]);
772         } 725         }
773         assert(!(tmp_assign_source_3 == NULL)); 726         assert(!(tmp_assign_source_3 == NULL));
n 774         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[6], tmp_assign_source_3); n 727         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[4], tmp_assign_source_3);
775     } 728     }
776     frame_dc730259c91c5e21fa307e967ab49708 = MAKE_MODULE_FRAME(codeobj_dc730259c91c5e21fa307e967ab49708, module___main__); 729     frame_dc730259c91c5e21fa307e967ab49708 = MAKE_MODULE_FRAME(codeobj_dc730259c91c5e21fa307e967ab49708, module___main__);
777 730
778     // Push the new frame as the currently active one, and we should be exclusively 731     // Push the new frame as the currently active one, and we should be exclusively
779     // owning it. 732     // owning it.
785         PyObject *tmp_assign_source_4; 738         PyObject *tmp_assign_source_4;
786         PyObject *tmp_name_value_1; 739         PyObject *tmp_name_value_1;
787         PyObject *tmp_globals_arg_value_1; 740         PyObject *tmp_globals_arg_value_1;
788         PyObject *tmp_locals_arg_value_1; 741         PyObject *tmp_locals_arg_value_1;
789         PyObject *tmp_fromlist_value_1; 742         PyObject *tmp_fromlist_value_1;
n 790         tmp_name_value_1 = mod_consts[7]; n 743         tmp_name_value_1 = mod_consts[5];
791         tmp_globals_arg_value_1 = (PyObject *)moduledict___main__; 744         tmp_globals_arg_value_1 = (PyObject *)moduledict___main__;
792         tmp_locals_arg_value_1 = Py_None; 745         tmp_locals_arg_value_1 = Py_None;
793         tmp_fromlist_value_1 = Py_None; 746         tmp_fromlist_value_1 = Py_None;
794         frame_dc730259c91c5e21fa307e967ab49708->m_frame.f_lineno = 6; 747         frame_dc730259c91c5e21fa307e967ab49708->m_frame.f_lineno = 6;
795         tmp_assign_source_4 = IMPORT_MODULE4(tstate, tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1); 748         tmp_assign_source_4 = IMPORT_MODULE4(tstate, tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1);
801 754
802             exception_lineno = 6; 755             exception_lineno = 6;
803 756
804             goto frame_exception_exit_1; 757             goto frame_exception_exit_1;
805         } 758         }
n 806         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[7], tmp_assign_source_4); n 759         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_4);
807     } 760     }
808     { 761     {
809         PyObject *tmp_assign_source_5; 762         PyObject *tmp_assign_source_5;
810 763
811 764
817         PyObject *tmp_assign_source_6; 770         PyObject *tmp_assign_source_6;
818 771
819 772
820         tmp_assign_source_6 = MAKE_FUNCTION___main__$$$function__2_calledRepeatedly(); 773         tmp_assign_source_6 = MAKE_FUNCTION___main__$$$function__2_calledRepeatedly();
821 774
n 822         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[8], tmp_assign_source_6); n 775         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[6], tmp_assign_source_6);
823     } 776     }
824     { 777     {
825         PyObject *tmp_assign_source_7; 778         PyObject *tmp_assign_source_7;
826         PyObject *tmp_iter_arg_1; 779         PyObject *tmp_iter_arg_1;
827         PyObject *tmp_called_instance_1; 780         PyObject *tmp_called_instance_1;
n 828         tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[7]); n 781         tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[5]);
829 782
830         if (unlikely(tmp_called_instance_1 == NULL)) { 783         if (unlikely(tmp_called_instance_1 == NULL)) {
n 831             tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[7]); n 784             tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[5]);
832         } 785         }
833 786
834         assert(!(tmp_called_instance_1 == NULL)); 787         assert(!(tmp_called_instance_1 == NULL));
835         frame_dc730259c91c5e21fa307e967ab49708->m_frame.f_lineno = 27; 788         frame_dc730259c91c5e21fa307e967ab49708->m_frame.f_lineno = 27;
836         tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2( 789         tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2(
837             tstate, 790             tstate,
838             tmp_called_instance_1, 791             tmp_called_instance_1,
n 839             mod_consts[9], n 792             mod_consts[7],
840             &PyTuple_GET_ITEM(mod_consts[10], 0) 793             &PyTuple_GET_ITEM(mod_consts[8], 0)
841         ); 794         );
842 795
843         if (tmp_iter_arg_1 == NULL) { 796         if (tmp_iter_arg_1 == NULL) {
844             assert(HAS_ERROR_OCCURRED(tstate)); 797             assert(HAS_ERROR_OCCURRED(tstate));
845 798
895     } 848     }
896     { 849     {
897         PyObject *tmp_assign_source_9; 850         PyObject *tmp_assign_source_9;
898         CHECK_OBJECT(tmp_for_loop_1__iter_value); 851         CHECK_OBJECT(tmp_for_loop_1__iter_value);
899         tmp_assign_source_9 = tmp_for_loop_1__iter_value; 852         tmp_assign_source_9 = tmp_for_loop_1__iter_value;
n 900         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[11], tmp_assign_source_9); n 853         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[9], tmp_assign_source_9);
901     } 854     }
902     { 855     {
903         PyObject *tmp_called_value_1; 856         PyObject *tmp_called_value_1;
904         PyObject *tmp_call_result_1; 857         PyObject *tmp_call_result_1;
n 905         tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[8]); n 858         tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[6]);
906 859
907         if (unlikely(tmp_called_value_1 == NULL)) { 860         if (unlikely(tmp_called_value_1 == NULL)) {
n 908             tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[8]); n 861             tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[6]);
909         } 862         }
910 863
911         if (tmp_called_value_1 == NULL) { 864         if (tmp_called_value_1 == NULL) {
912             assert(HAS_ERROR_OCCURRED(tstate)); 865             assert(HAS_ERROR_OCCURRED(tstate));
913 866
976     Py_DECREF(tmp_for_loop_1__for_iterator); 929     Py_DECREF(tmp_for_loop_1__for_iterator);
977     tmp_for_loop_1__for_iterator = NULL; 930     tmp_for_loop_1__for_iterator = NULL;
978     { 931     {
979         PyObject *tmp_called_value_2; 932         PyObject *tmp_called_value_2;
980         PyObject *tmp_call_result_2; 933         PyObject *tmp_call_result_2;
n 981         tmp_called_value_2 = LOOKUP_BUILTIN(mod_consts[12]); n 934         tmp_called_value_2 = LOOKUP_BUILTIN(mod_consts[10]);
982         assert(tmp_called_value_2 != NULL); 935         assert(tmp_called_value_2 != NULL);
983         frame_dc730259c91c5e21fa307e967ab49708->m_frame.f_lineno = 30; 936         frame_dc730259c91c5e21fa307e967ab49708->m_frame.f_lineno = 30;
t 984         tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS1(tstate, tmp_called_value_2, mod_consts[13]); t 937         tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS1(tstate, tmp_called_value_2, mod_consts[11]);
985 938
986         if (tmp_call_result_2 == NULL) { 939         if (tmp_call_result_2 == NULL) {
987             assert(HAS_ERROR_OCCURRED(tstate)); 940             assert(HAS_ERROR_OCCURRED(tstate));
988 941
989             FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb); 942             FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb);