Construct CallUncompiledFunctionPosArgs

Performance Diagrams

Construct CallUncompiledFunctionPosArgs 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000CPython 2.7Nuitka (master)Nuitka (develop)Nuitka (factory)16659062288.11538461538461257.0CPython 2.7109943153240.03846153846155341.0291063288249Nuitka (master)109942367391.96153846153845341.0302722569545Nuitka (develop)109941340543.8846153846154341.0317956770423Nuitka (factory)Construct CallUncompiledFunctionPosArgsTicks Construct CallUncompiledFunctionPosArgs 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000130000000130000000140000000140000000150000000150000000CPython 3.5Nuitka (master)Nuitka (develop)Nuitka (factory)15290765088.11538461538461257.0CPython 3.5102812940240.03846153846155337.9584970329879Nuitka (master)102807020391.96153846153845337.9680643965366Nuitka (develop)102813226543.8846153846154337.9580348258976Nuitka (factory)Construct CallUncompiledFunctionPosArgsTicks

Source Code with Construct

from __future__ import print_function

exec("""
def python_func(a,b,c,d,e,f):
    pass
""")

def calledRepeatedly():
    # This is supposed to make a call to a non-compiled function, which is
    # being optimized separately.
# construct_begin
    python_func("some", "random", "values", "to", "check", "call")
    python_func("some", "other", "values", "to", "check", "call")
    python_func("some", "new", "values", "to", "check", "call")
# construct_alternative



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

print("OK.")

Source Code without Construct

from __future__ import print_function

exec("""
def python_func(a,b,c,d,e,f):
    pass
""")

def calledRepeatedly():
    # This is supposed to make a call to a non-compiled function, which is
    # being optimized separately.
# construct_begin



# construct_alternative
    pass
# construct_end

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

print("OK.")

Context Diff of Source Code


Construct
Baseline
26 26
27 def calledRepeatedly(): 27 def calledRepeatedly():
28     # This is supposed to make a call to a non-compiled function, which is 28     # This is supposed to make a call to a non-compiled function, which is
29     # being optimized separately. 29     # being optimized separately.
30 # construct_begin 30 # construct_begin
n 31     python_func("some", "random", "values", "to", "check", "call") n
32     python_func("some", "other", "values", "to", "check", "call")
33     python_func("some", "new", "values", "to", "check", "call")
34 # construct_alternative
35 31
36 32
t t 33  
34 # construct_alternative
35     pass
36 # construct_end
37 37
38 import itertools 38 import itertools
39 for x in itertools.repeat(None, 50000): 39 for x in itertools.repeat(None, 50000):
40     calledRepeatedly() 40     calledRepeatedly()
41 41

Context Diff of Generated Code


Construct
Baseline
29 29
30 PyObject *module___main__; 30 PyObject *module___main__;
31 PyDictObject *moduledict___main__; 31 PyDictObject *moduledict___main__;
32 32
33 /* The module constants used, if any. */ 33 /* The module constants used, if any. */
n 34 static PyObject *const_str_plain_to; n
35 static PyObject *const_str_plain_itertools; 34 static PyObject *const_str_plain_itertools;
36 static PyObject *const_str_digest_40641b58ed6f61cc974b85218932eb8d; 35 static PyObject *const_str_digest_40641b58ed6f61cc974b85218932eb8d;
n 37 static PyObject *const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple; n
38 static PyObject *const_str_plain_values;
39 extern PyObject *const_str_plain___file__; 36 extern PyObject *const_str_plain___file__;
n 40 static PyObject *const_str_plain_other; n
41 extern PyObject *const_int_0; 37 extern PyObject *const_int_0;
n 42 static PyObject *const_str_plain_check; n
43 extern PyObject *const_str_plain_print; 38 extern PyObject *const_str_plain_print;
n 44 static PyObject *const_str_plain_call; n
45 static PyObject *const_int_pos_50000; 39 static PyObject *const_int_pos_50000;
46 static PyObject *const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple; 40 static PyObject *const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple;
n 47 static PyObject *const_str_plain_random; n
48 static PyObject *const_str_plain_print_function; 41 static PyObject *const_str_plain_print_function;
49 static PyObject *const_str_plain_calledRepeatedly; 42 static PyObject *const_str_plain_calledRepeatedly;
50 static PyObject *const_str_angle_module; 43 static PyObject *const_str_angle_module;
51 static PyObject *const_str_plain_None; 44 static PyObject *const_str_plain_None;
52 static PyObject *const_str_plain_x; 45 static PyObject *const_str_plain_x;
53 extern PyObject *const_tuple_empty; 46 extern PyObject *const_tuple_empty;
54 static PyObject *const_str_digest_5ed1392909ad16e6227b8230f4582352; 47 static PyObject *const_str_digest_5ed1392909ad16e6227b8230f4582352;
55 static PyObject *const_str_digest_66ed3aa51f1bcdd2a25a477e643cc518; 48 static PyObject *const_str_digest_66ed3aa51f1bcdd2a25a477e643cc518;
n 56 static PyObject *const_str_plain_python_func; n
57 static PyObject *const_str_plain_some;
58 static PyObject *const_str_plain_repeat; 49 static PyObject *const_str_plain_repeat;
n 59 static PyObject *const_str_plain_new; n
60 static PyObject *const_tuple_none_int_pos_50000_tuple; 50 static PyObject *const_tuple_none_int_pos_50000_tuple;
61 extern PyObject *const_str_plain___main__; 51 extern PyObject *const_str_plain___main__;
n 62 static PyObject *const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple; n
63 static PyObject *const_str_angle_string; 52 static PyObject *const_str_angle_string;
n 64 static PyObject *const_tuple_ca2f155a28955fc472d4376e2721d689_tuple; n
65 extern PyObject *const_str_plain___doc__; 53 extern PyObject *const_str_plain___doc__;
66 extern PyObject *const_str_plain___cached__; 54 extern PyObject *const_str_plain___cached__;
67 static PyObject *const_str_plain_exec; 55 static PyObject *const_str_plain_exec;
68 static PyObject *module_filename_obj; 56 static PyObject *module_filename_obj;
69 57
70 static bool constants_created = false; 58 static bool constants_created = false;
71 59
72 static void createModuleConstants( void ) 60 static void createModuleConstants( void )
73 { 61 {
n 74     const_str_plain_to = UNSTREAM_STRING( &constant_bin[ 0 ], 2, 1 ); n
75     const_str_plain_itertools = UNSTREAM_STRING( &constant_bin[ 2 ], 9, 1 ); 62     const_str_plain_itertools = UNSTREAM_STRING( &constant_bin[ 0 ], 9, 1 );
76     const_str_digest_40641b58ed6f61cc974b85218932eb8d = UNSTREAM_STRING( &constant_bin[ 11 ], 40, 0 ); 63     const_str_digest_40641b58ed6f61cc974b85218932eb8d = UNSTREAM_STRING( &constant_bin[ 9 ], 40, 0 );
77     const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple = PyTuple_New( 6 );
78     const_str_plain_some = UNSTREAM_STRING( &constant_bin[ 51 ], 4, 1 );
79     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 0, const_str_plain_some ); Py_INCREF( const_str_plain_some );
80     const_str_plain_new = UNSTREAM_STRING( &constant_bin[ 55 ], 3, 1 );
81     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 1, const_str_plain_new ); Py_INCREF( const_str_plain_new );
82     const_str_plain_values = UNSTREAM_STRING( &constant_bin[ 58 ], 6, 1 );
83     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 2, const_str_plain_values ); Py_INCREF( const_str_plain_values );
84     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 3, const_str_plain_to ); Py_INCREF( const_str_plain_to );
85     const_str_plain_check = UNSTREAM_STRING( &constant_bin[ 64 ], 5, 1 );
86     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 4, const_str_plain_check ); Py_INCREF( const_str_plain_check );
87     const_str_plain_call = UNSTREAM_STRING( &constant_bin[ 69 ], 4, 1 );
88     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 5, const_str_plain_call ); Py_INCREF( const_str_plain_call );
89     const_str_plain_other = UNSTREAM_STRING( &constant_bin[ 73 ], 5, 1 );
90     const_int_pos_50000 = PyLong_FromUnsignedLong( 50000ul ); 64     const_int_pos_50000 = PyLong_FromUnsignedLong( 50000ul );
91     const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple = PyTuple_New( 1 ); 65     const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple = PyTuple_New( 1 );
n 92     const_str_digest_5ed1392909ad16e6227b8230f4582352 = UNSTREAM_STRING( &constant_bin[ 78 ], 3, 0 ); n 66     const_str_digest_5ed1392909ad16e6227b8230f4582352 = UNSTREAM_STRING( &constant_bin[ 49 ], 3, 0 );
93     PyTuple_SET_ITEM( const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple, 0, const_str_digest_5ed1392909ad16e6227b8230f4582352 ); Py_INCREF( const_str_digest_5ed1392909ad16e6227b8230f4582352 ); 67     PyTuple_SET_ITEM( const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple, 0, const_str_digest_5ed1392909ad16e6227b8230f4582352 ); Py_INCREF( const_str_digest_5ed1392909ad16e6227b8230f4582352 );
n 94     const_str_plain_random = UNSTREAM_STRING( &constant_bin[ 81 ], 6, 1 ); n
95     const_str_plain_print_function = UNSTREAM_STRING( &constant_bin[ 87 ], 14, 1 ); 68     const_str_plain_print_function = UNSTREAM_STRING( &constant_bin[ 52 ], 14, 1 );
96     const_str_plain_calledRepeatedly = UNSTREAM_STRING( &constant_bin[ 101 ], 16, 1 ); 69     const_str_plain_calledRepeatedly = UNSTREAM_STRING( &constant_bin[ 66 ], 16, 1 );
97     const_str_angle_module = UNSTREAM_STRING( &constant_bin[ 117 ], 8, 0 ); 70     const_str_angle_module = UNSTREAM_STRING( &constant_bin[ 82 ], 8, 0 );
98     const_str_plain_None = UNSTREAM_STRING( &constant_bin[ 125 ], 4, 1 ); 71     const_str_plain_None = UNSTREAM_STRING( &constant_bin[ 90 ], 4, 1 );
99     const_str_plain_x = UNSTREAM_STRING( &constant_bin[ 129 ], 1, 1 ); 72     const_str_plain_x = UNSTREAM_STRING( &constant_bin[ 94 ], 1, 1 );
100     const_str_digest_66ed3aa51f1bcdd2a25a477e643cc518 = UNSTREAM_STRING( &constant_bin[ 130 ], 87, 0 ); 73     const_str_digest_66ed3aa51f1bcdd2a25a477e643cc518 = UNSTREAM_STRING( &constant_bin[ 95 ], 87, 0 );
101     const_str_plain_python_func = UNSTREAM_STRING( &constant_bin[ 16 ], 11, 1 );
102     const_str_plain_repeat = UNSTREAM_STRING( &constant_bin[ 217 ], 6, 1 ); 74     const_str_plain_repeat = UNSTREAM_STRING( &constant_bin[ 182 ], 6, 1 );
103     const_tuple_none_int_pos_50000_tuple = PyTuple_New( 2 ); 75     const_tuple_none_int_pos_50000_tuple = PyTuple_New( 2 );
104     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 0, Py_None ); Py_INCREF( Py_None ); 76     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 0, Py_None ); Py_INCREF( Py_None );
105     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 1, const_int_pos_50000 ); Py_INCREF( const_int_pos_50000 ); 77     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 1, const_int_pos_50000 ); Py_INCREF( const_int_pos_50000 );
n 106     const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple = PyTuple_New( 6 ); n
107     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 0, const_str_plain_some ); Py_INCREF( const_str_plain_some );
108     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 1, const_str_plain_random ); Py_INCREF( const_str_plain_random );
109     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 2, const_str_plain_values ); Py_INCREF( const_str_plain_values );
110     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 3, const_str_plain_to ); Py_INCREF( const_str_plain_to );
111     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 4, const_str_plain_check ); Py_INCREF( const_str_plain_check );
112     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 5, const_str_plain_call ); Py_INCREF( const_str_plain_call );
113     const_str_angle_string = UNSTREAM_STRING( &constant_bin[ 223 ], 8, 0 ); 78     const_str_angle_string = UNSTREAM_STRING( &constant_bin[ 188 ], 8, 0 );
114     const_tuple_ca2f155a28955fc472d4376e2721d689_tuple = PyTuple_New( 6 );
115     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 0, const_str_plain_some ); Py_INCREF( const_str_plain_some );
116     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 1, const_str_plain_other ); Py_INCREF( const_str_plain_other );
117     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 2, const_str_plain_values ); Py_INCREF( const_str_plain_values );
118     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 3, const_str_plain_to ); Py_INCREF( const_str_plain_to );
119     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 4, const_str_plain_check ); Py_INCREF( const_str_plain_check );
120     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 5, const_str_plain_call ); Py_INCREF( const_str_plain_call );
121     const_str_plain_exec = UNSTREAM_STRING( &constant_bin[ 231 ], 4, 1 ); 79     const_str_plain_exec = UNSTREAM_STRING( &constant_bin[ 196 ], 4, 1 );
122 80
123     constants_created = true; 81     constants_created = true;
124 } 82 }
125 83
126 #ifndef __NUITKA_NO_ASSERT__ 84 #ifndef __NUITKA_NO_ASSERT__
133 } 91 }
134 #endif 92 #endif
135 93
136 // The module code objects. 94 // The module code objects.
137 static PyCodeObject *codeobj_45b30f08855b3c86ae3a78bd4c759b53; 95 static PyCodeObject *codeobj_45b30f08855b3c86ae3a78bd4c759b53;
n 138 static PyCodeObject *codeobj_b8f20f149ba27846ed6fe7de92843613; n 96 static PyCodeObject *codeobj_8bcbd9962de65eb326a2a375fc6e94dc;
139 /* For use in "MainProgram.c". */ 97 /* For use in "MainProgram.c". */
140 PyCodeObject *codeobj_main = NULL; 98 PyCodeObject *codeobj_main = NULL;
141 99
142 static void createModuleCodeObjects(void) 100 static void createModuleCodeObjects(void)
143 { 101 {
144     module_filename_obj = const_str_digest_66ed3aa51f1bcdd2a25a477e643cc518; 102     module_filename_obj = const_str_digest_66ed3aa51f1bcdd2a25a477e643cc518;
145     codeobj_45b30f08855b3c86ae3a78bd4c759b53 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_module, 1, const_tuple_empty, 0, 0, CO_NOFREE ); 103     codeobj_45b30f08855b3c86ae3a78bd4c759b53 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_module, 1, const_tuple_empty, 0, 0, CO_NOFREE );
146     codeobj_main = codeobj_45b30f08855b3c86ae3a78bd4c759b53; 104     codeobj_main = codeobj_45b30f08855b3c86ae3a78bd4c759b53;
n 147     codeobj_b8f20f149ba27846ed6fe7de92843613 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_calledRepeatedly, 27, const_tuple_empty, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); n 105     codeobj_8bcbd9962de65eb326a2a375fc6e94dc = MAKE_CODEOBJ( module_filename_obj, const_str_plain_calledRepeatedly, 27, const_tuple_empty, 0, 0, CO_NOFREE );
148 } 106 }
149 107
150 // The module function declarations. 108 // The module function declarations.
151 static PyObject *MAKE_FUNCTION___main__$$$function_1_calledRepeatedly(  ); 109 static PyObject *MAKE_FUNCTION___main__$$$function_1_calledRepeatedly(  );
152 110
158 #ifndef __NUITKA_NO_ASSERT__ 116 #ifndef __NUITKA_NO_ASSERT__
159     NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); 117     NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
160 #endif 118 #endif
161 119
162     // Local variable declarations. 120     // Local variable declarations.
n 163     struct Nuitka_FrameObject *frame_b8f20f149ba27846ed6fe7de92843613; n
164     NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
165     NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
166     PyObject *exception_type = NULL;
167     PyObject *exception_value = NULL;
168     PyTracebackObject *exception_tb = NULL;
169     NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
170     static struct Nuitka_FrameObject *cache_frame_b8f20f149ba27846ed6fe7de92843613 = NULL;
171     PyObject *tmp_return_value = NULL; 121     PyObject *tmp_return_value = NULL;
172 122
173     // Actual function code. 123     // Actual function code.
n 174     MAKE_OR_REUSE_FRAME( cache_frame_b8f20f149ba27846ed6fe7de92843613, codeobj_b8f20f149ba27846ed6fe7de92843613, module___main__, 0 ); n
175     frame_b8f20f149ba27846ed6fe7de92843613 = cache_frame_b8f20f149ba27846ed6fe7de92843613;
176  
177     // Push the new frame as the currently active one.
178     pushFrameStack( frame_b8f20f149ba27846ed6fe7de92843613 );
179  
180     // Mark the frame object as in use, ref count 1 will be up for reuse.
181     assert( Py_REFCNT( frame_b8f20f149ba27846ed6fe7de92843613 ) == 2 ); // Frame stack
182  
183     // Framed code:
184     {
185     PyObject *tmp_called_name_1;
186     tmp_called_name_1 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_python_func );
187  
188     if (unlikely( tmp_called_name_1 == NULL ))
189     {
190         tmp_called_name_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_python_func );
191     }
192  
193     if ( tmp_called_name_1 == NULL )
194     {
195  
196         exception_type = PyExc_NameError;
197         Py_INCREF( exception_type );
198         exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "python_func" );
199         exception_tb = NULL;
200         NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
201         CHAIN_EXCEPTION( exception_value );
202  
203         exception_lineno = 31;
204  
205         goto frame_exception_exit_1;
206     }
207  
208     frame_b8f20f149ba27846ed6fe7de92843613->m_frame.f_lineno = 31;
209     tmp_unused = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_1, &PyTuple_GET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 0 ) );
210  
211     if ( tmp_unused == NULL )
212     {
213         assert( ERROR_OCCURRED() );
214  
215         FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
216  
217  
218         exception_lineno = 31;
219  
220         goto frame_exception_exit_1;
221     }
222     Py_DECREF( tmp_unused );
223     }
224     {
225     PyObject *tmp_called_name_2;
226     tmp_called_name_2 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_python_func );
227  
228     if (unlikely( tmp_called_name_2 == NULL ))
229     {
230         tmp_called_name_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_python_func );
231     }
232  
233     if ( tmp_called_name_2 == NULL )
234     {
235  
236         exception_type = PyExc_NameError;
237         Py_INCREF( exception_type );
238         exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "python_func" );
239         exception_tb = NULL;
240         NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
241         CHAIN_EXCEPTION( exception_value );
242  
243         exception_lineno = 32;
244  
245         goto frame_exception_exit_1;
246     }
247  
248     frame_b8f20f149ba27846ed6fe7de92843613->m_frame.f_lineno = 32;
249     tmp_unused = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_2, &PyTuple_GET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 0 ) );
250  
251     if ( tmp_unused == NULL )
252     {
253         assert( ERROR_OCCURRED() );
254  
255         FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
256  
257  
258         exception_lineno = 32;
259  
260         goto frame_exception_exit_1;
261     }
262     Py_DECREF( tmp_unused );
263     }
264     {
265     PyObject *tmp_called_name_3;
266     tmp_called_name_3 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_python_func );
267  
268     if (unlikely( tmp_called_name_3 == NULL ))
269     {
270         tmp_called_name_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_python_func );
271     }
272  
273     if ( tmp_called_name_3 == NULL )
274     {
275  
276         exception_type = PyExc_NameError;
277         Py_INCREF( exception_type );
278         exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "python_func" );
279         exception_tb = NULL;
280         NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
281         CHAIN_EXCEPTION( exception_value );
282  
283         exception_lineno = 33;
284  
285         goto frame_exception_exit_1;
286     }
287  
288     frame_b8f20f149ba27846ed6fe7de92843613->m_frame.f_lineno = 33;
289     tmp_unused = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_3, &PyTuple_GET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 0 ) );
290  
291     if ( tmp_unused == NULL )
292     {
293         assert( ERROR_OCCURRED() );
294  
295         FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
296  
297  
298         exception_lineno = 33;
299  
300         goto frame_exception_exit_1;
301     }
302     Py_DECREF( tmp_unused );
303     }
304  
305 #if 0
306     RESTORE_FRAME_EXCEPTION( frame_b8f20f149ba27846ed6fe7de92843613 );
307 #endif
308  
309     // Put the previous frame back on top.
310     popFrameStack();
311  
312     goto frame_no_exception_1;
313  
314     frame_exception_exit_1:;
315  
316 #if 0
317     RESTORE_FRAME_EXCEPTION( frame_b8f20f149ba27846ed6fe7de92843613 );
318 #endif
319  
320     if ( exception_tb == NULL )
321     {
322         exception_tb = MAKE_TRACEBACK( frame_b8f20f149ba27846ed6fe7de92843613, exception_lineno );
323     }
324     else if ( exception_tb->tb_frame != &frame_b8f20f149ba27846ed6fe7de92843613->m_frame )
325     {
326         exception_tb = ADD_TRACEBACK( exception_tb, frame_b8f20f149ba27846ed6fe7de92843613, exception_lineno );
327     }
328  
329     // Attachs locals to frame if any.
330     Nuitka_Frame_AttachLocals(
331         (struct Nuitka_FrameObject *)frame_b8f20f149ba27846ed6fe7de92843613,
332         type_description_1
333     );
334  
335  
336     // Release cached frame.
337     if ( frame_b8f20f149ba27846ed6fe7de92843613 == cache_frame_b8f20f149ba27846ed6fe7de92843613 )
338     {
339         Py_DECREF( frame_b8f20f149ba27846ed6fe7de92843613 );
340     }
341     cache_frame_b8f20f149ba27846ed6fe7de92843613 = NULL;
342  
343     assertFrameObject( frame_b8f20f149ba27846ed6fe7de92843613 );
344  
345     // Put the previous frame back on top.
346     popFrameStack();
347  
348     // Return the error.
349     goto function_exception_exit;
350  
351     frame_no_exception_1:;
352  
353     { 124     {
354     tmp_return_value = Py_None; 125     tmp_return_value = Py_None;
355     Py_INCREF( tmp_return_value ); 126     Py_INCREF( tmp_return_value );
356     goto function_return_exit; 127     goto function_return_exit;
357     } 128     }
358 129
359     // Return statement must have exited already. 130     // Return statement must have exited already.
360     NUITKA_CANNOT_GET_HERE( __main__$$$function_1_calledRepeatedly ); 131     NUITKA_CANNOT_GET_HERE( __main__$$$function_1_calledRepeatedly );
361     return NULL; 132     return NULL;
362 133
n 363 function_exception_exit: n
364     assert( exception_type );
365     RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
366  
367     return NULL;
368 function_return_exit: 134 function_return_exit:
369 135
370 CHECK_OBJECT( tmp_return_value ); 136 CHECK_OBJECT( tmp_return_value );
371 assert( had_error || !ERROR_OCCURRED() ); 137 assert( had_error || !ERROR_OCCURRED() );
372 return tmp_return_value; 138 return tmp_return_value;
381         impl___main__$$$function_1_calledRepeatedly, 147         impl___main__$$$function_1_calledRepeatedly,
382         const_str_plain_calledRepeatedly, 148         const_str_plain_calledRepeatedly,
383 #if PYTHON_VERSION >= 300 149 #if PYTHON_VERSION >= 300
384         NULL, 150         NULL,
385 #endif 151 #endif
t 386         codeobj_b8f20f149ba27846ed6fe7de92843613, t 152         codeobj_8bcbd9962de65eb326a2a375fc6e94dc,
387         NULL, 153         NULL,
388 #if PYTHON_VERSION >= 300 154 #if PYTHON_VERSION >= 300
389         NULL, 155         NULL,
390         NULL, 156         NULL,
391 #endif 157 #endif