Construct CallCompiledObjectMethodPosArgsConstant6

Performance Diagrams

Construct CallCompiledObjectMethodPosArgsConstant6 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000220000000220000000240000000240000000260000000260000000CPython 2.7Nuitka (master)Nuitka (develop)Nuitka (factory)26472879788.11538461538461257.0CPython 2.788006156240.03846153846155421.96461244811815Nuitka (master)88006192391.96153846153845421.9645788433349Nuitka (develop)88006184543.8846153846154421.9645863110645Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant6Ticks Construct CallCompiledObjectMethodPosArgsConstant6 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000220000000220000000240000000240000000CPython 3.5Nuitka (master)Nuitka (develop)Nuitka (factory)24955029588.11538461538461257.0CPython 3.586609551240.03846153846155418.35089971773795Nuitka (master)86609141391.96153846153845418.3513057172888Nuitka (develop)86607886543.8846153846154418.3525484720117Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant6Ticks

Source Code with Construct

from __future__ import print_function

class C(object):
    def compiled_method(self, a,b,c,d,e,f):
        return a, b, c, d, e, f

def calledRepeatedly():
    inst = C()

    # This is supposed to make a call to a non-compiled function, which is
    # being optimized separately.
# construct_begin
    inst.compiled_method("some", "random", "values", "to", "check", "call")
    inst.compiled_method("some", "other", "values", "to", "check", "call")
    inst.compiled_method("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

class C(object):
    def compiled_method(self, a,b,c,d,e,f):
        return a, b, c, d, e, f

def calledRepeatedly():
    inst = C()

    # 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
27     inst = C() 27     inst = C()
28 28
29     # This is supposed to make a call to a non-compiled function, which is 29     # This is supposed to make a call to a non-compiled function, which is
30     # being optimized separately. 30     # being optimized separately.
31 # construct_begin 31 # construct_begin
n 32     inst.compiled_method("some", "random", "values", "to", "check", "call") n 32  
33     inst.compiled_method("some", "other", "values", "to", "check", "call") 33  
34     inst.compiled_method("some", "new", "values", "to", "check", "call") 34  
35 35
36 # construct_alternative 36 # construct_alternative
t 37   t 37     pass
38   38 # construct_end
39 39
40 import itertools 40 import itertools
41 for x in itertools.repeat(None, 50000): 41 for x in itertools.repeat(None, 50000):
42     calledRepeatedly() 42     calledRepeatedly()
43 43

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_b; 34 static PyObject *const_str_plain_b;
36 static PyObject *const_str_plain_itertools; 35 static PyObject *const_str_plain_itertools;
37 static PyObject *const_tuple_type_object_tuple; 36 static PyObject *const_tuple_type_object_tuple;
38 static PyObject *const_str_plain_metaclass; 37 static PyObject *const_str_plain_metaclass;
39 static PyObject *const_str_plain___package__; 38 static PyObject *const_str_plain___package__;
40 static PyObject *const_str_plain___spec__; 39 static PyObject *const_str_plain___spec__;
41 extern PyObject *const_str_plain___module__; 40 extern PyObject *const_str_plain___module__;
42 static PyObject *const_str_plain_compiled_method; 41 static PyObject *const_str_plain_compiled_method;
43 static PyObject *const_str_digest_757227af6dac5c01686d3bbc7671f8bf; 42 static PyObject *const_str_digest_757227af6dac5c01686d3bbc7671f8bf;
n 44 static PyObject *const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple; n
45 static PyObject *const_str_plain___qualname__; 43 static PyObject *const_str_plain___qualname__;
46 static PyObject *const_str_plain_f; 44 static PyObject *const_str_plain_f;
n 47 static PyObject *const_str_plain_values; n
48 extern PyObject *const_dict_empty; 45 extern PyObject *const_dict_empty;
49 extern PyObject *const_str_plain___file__; 46 extern PyObject *const_str_plain___file__;
n 50 static PyObject *const_str_plain_other; n
51 extern PyObject *const_int_0; 47 extern PyObject *const_int_0;
n 52 static PyObject *const_str_plain_check; n
53 extern PyObject *const_str_plain_print; 48 extern PyObject *const_str_plain_print;
54 static PyObject *const_str_plain___prepare__; 49 static PyObject *const_str_plain___prepare__;
n 55 static PyObject *const_str_plain_call; n
56 static PyObject *const_str_plain_a; 50 static PyObject *const_str_plain_a;
57 static PyObject *const_int_pos_50000; 51 static PyObject *const_int_pos_50000;
58 static PyObject *const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple; 52 static PyObject *const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple;
n 59 static PyObject *const_str_plain_random; n
60 static PyObject *const_str_plain_self; 53 static PyObject *const_str_plain_self;
61 static PyObject *const_str_plain_inst; 54 static PyObject *const_str_plain_inst;
62 static PyObject *const_str_plain_e; 55 static PyObject *const_str_plain_e;
63 static PyObject *const_str_plain_calledRepeatedly; 56 static PyObject *const_str_plain_calledRepeatedly;
64 static PyObject *const_str_digest_41475201fdd2e96ae6ec59b6ddd8407e; 57 static PyObject *const_str_digest_41475201fdd2e96ae6ec59b6ddd8407e;
69 extern PyObject *const_tuple_empty; 62 extern PyObject *const_tuple_empty;
70 static PyObject *const_str_digest_5ed1392909ad16e6227b8230f4582352; 63 static PyObject *const_str_digest_5ed1392909ad16e6227b8230f4582352;
71 static PyObject *const_str_plain_c; 64 static PyObject *const_str_plain_c;
72 static PyObject *const_tuple_str_plain_inst_tuple; 65 static PyObject *const_tuple_str_plain_inst_tuple;
73 static PyObject *const_str_plain_repeat; 66 static PyObject *const_str_plain_repeat;
n 74 static PyObject *const_str_plain_some; n
75 static PyObject *const_str_plain_new;
76 static PyObject *const_tuple_none_int_pos_50000_tuple; 67 static PyObject *const_tuple_none_int_pos_50000_tuple;
77 extern PyObject *const_str_plain___loader__; 68 extern PyObject *const_str_plain___loader__;
78 extern PyObject *const_str_plain___main__; 69 extern PyObject *const_str_plain___main__;
n 79 static PyObject *const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple; n
80 static PyObject *const_tuple_ca2f155a28955fc472d4376e2721d689_tuple;
81 static PyObject *const_str_plain_d; 70 static PyObject *const_str_plain_d;
82 extern PyObject *const_str_plain___doc__; 71 extern PyObject *const_str_plain___doc__;
83 extern PyObject *const_str_plain___cached__; 72 extern PyObject *const_str_plain___cached__;
84 static PyObject *const_str_plain_print_function; 73 static PyObject *const_str_plain_print_function;
85 static PyObject *module_filename_obj; 74 static PyObject *module_filename_obj;
86 75
87 static bool constants_created = false; 76 static bool constants_created = false;
88 77
89 static void createModuleConstants( void ) 78 static void createModuleConstants( void )
90 { 79 {
n 91     const_str_plain_to = UNSTREAM_STRING( &constant_bin[ 0 ], 2, 1 ); n
92     const_str_plain_b = UNSTREAM_STRING( &constant_bin[ 2 ], 1, 1 ); 80     const_str_plain_b = UNSTREAM_STRING( &constant_bin[ 0 ], 1, 1 );
93     const_str_plain_itertools = UNSTREAM_STRING( &constant_bin[ 3 ], 9, 1 ); 81     const_str_plain_itertools = UNSTREAM_STRING( &constant_bin[ 1 ], 9, 1 );
94     const_tuple_type_object_tuple = PyTuple_New( 1 ); 82     const_tuple_type_object_tuple = PyTuple_New( 1 );
95     PyTuple_SET_ITEM( const_tuple_type_object_tuple, 0, (PyObject *)&PyBaseObject_Type ); Py_INCREF( (PyObject *)&PyBaseObject_Type ); 83     PyTuple_SET_ITEM( const_tuple_type_object_tuple, 0, (PyObject *)&PyBaseObject_Type ); Py_INCREF( (PyObject *)&PyBaseObject_Type );
n 96     const_str_plain_metaclass = UNSTREAM_STRING( &constant_bin[ 12 ], 9, 1 ); n 84     const_str_plain_metaclass = UNSTREAM_STRING( &constant_bin[ 10 ], 9, 1 );
97     const_str_plain___package__ = UNSTREAM_STRING( &constant_bin[ 21 ], 11, 1 ); 85     const_str_plain___package__ = UNSTREAM_STRING( &constant_bin[ 19 ], 11, 1 );
98     const_str_plain___spec__ = UNSTREAM_STRING( &constant_bin[ 32 ], 8, 1 ); 86     const_str_plain___spec__ = UNSTREAM_STRING( &constant_bin[ 30 ], 8, 1 );
99     const_str_plain_compiled_method = UNSTREAM_STRING( &constant_bin[ 40 ], 15, 1 ); 87     const_str_plain_compiled_method = UNSTREAM_STRING( &constant_bin[ 38 ], 15, 1 );
100     const_str_digest_757227af6dac5c01686d3bbc7671f8bf = UNSTREAM_STRING( &constant_bin[ 55 ], 17, 0 ); 88     const_str_digest_757227af6dac5c01686d3bbc7671f8bf = UNSTREAM_STRING( &constant_bin[ 53 ], 17, 0 );
101     const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple = PyTuple_New( 6 );
102     const_str_plain_some = UNSTREAM_STRING( &constant_bin[ 72 ], 4, 1 );
103     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 0, const_str_plain_some ); Py_INCREF( const_str_plain_some );
104     const_str_plain_new = UNSTREAM_STRING( &constant_bin[ 76 ], 3, 1 );
105     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 1, const_str_plain_new ); Py_INCREF( const_str_plain_new );
106     const_str_plain_values = UNSTREAM_STRING( &constant_bin[ 79 ], 6, 1 );
107     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 2, const_str_plain_values ); Py_INCREF( const_str_plain_values );
108     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 3, const_str_plain_to ); Py_INCREF( const_str_plain_to );
109     const_str_plain_check = UNSTREAM_STRING( &constant_bin[ 85 ], 5, 1 );
110     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 4, const_str_plain_check ); Py_INCREF( const_str_plain_check );
111     const_str_plain_call = UNSTREAM_STRING( &constant_bin[ 90 ], 4, 1 );
112     PyTuple_SET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 5, const_str_plain_call ); Py_INCREF( const_str_plain_call );
113     const_str_plain___qualname__ = UNSTREAM_STRING( &constant_bin[ 94 ], 12, 1 ); 89     const_str_plain___qualname__ = UNSTREAM_STRING( &constant_bin[ 70 ], 12, 1 );
114     const_str_plain_f = UNSTREAM_STRING( &constant_bin[ 106 ], 1, 1 ); 90     const_str_plain_f = UNSTREAM_STRING( &constant_bin[ 82 ], 1, 1 );
115     const_str_plain_other = UNSTREAM_STRING( &constant_bin[ 107 ], 5, 1 );
116     const_str_plain___prepare__ = UNSTREAM_STRING( &constant_bin[ 112 ], 11, 1 ); 91     const_str_plain___prepare__ = UNSTREAM_STRING( &constant_bin[ 83 ], 11, 1 );
117     const_str_plain_a = UNSTREAM_STRING( &constant_bin[ 15 ], 1, 1 ); 92     const_str_plain_a = UNSTREAM_STRING( &constant_bin[ 13 ], 1, 1 );
118     const_int_pos_50000 = PyLong_FromUnsignedLong( 50000ul ); 93     const_int_pos_50000 = PyLong_FromUnsignedLong( 50000ul );
119     const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple = PyTuple_New( 1 ); 94     const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple = PyTuple_New( 1 );
n 120     const_str_digest_5ed1392909ad16e6227b8230f4582352 = UNSTREAM_STRING( &constant_bin[ 123 ], 3, 0 ); n 95     const_str_digest_5ed1392909ad16e6227b8230f4582352 = UNSTREAM_STRING( &constant_bin[ 94 ], 3, 0 );
121     PyTuple_SET_ITEM( const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple, 0, const_str_digest_5ed1392909ad16e6227b8230f4582352 ); Py_INCREF( const_str_digest_5ed1392909ad16e6227b8230f4582352 ); 96     PyTuple_SET_ITEM( const_tuple_str_digest_5ed1392909ad16e6227b8230f4582352_tuple, 0, const_str_digest_5ed1392909ad16e6227b8230f4582352 ); Py_INCREF( const_str_digest_5ed1392909ad16e6227b8230f4582352 );
n 122     const_str_plain_random = UNSTREAM_STRING( &constant_bin[ 126 ], 6, 1 ); n
123     const_str_plain_self = UNSTREAM_STRING( &constant_bin[ 132 ], 4, 1 ); 97     const_str_plain_self = UNSTREAM_STRING( &constant_bin[ 97 ], 4, 1 );
124     const_str_plain_inst = UNSTREAM_STRING( &constant_bin[ 136 ], 4, 1 ); 98     const_str_plain_inst = UNSTREAM_STRING( &constant_bin[ 101 ], 4, 1 );
125     const_str_plain_e = UNSTREAM_STRING( &constant_bin[ 5 ], 1, 1 ); 99     const_str_plain_e = UNSTREAM_STRING( &constant_bin[ 3 ], 1, 1 );
126     const_str_plain_calledRepeatedly = UNSTREAM_STRING( &constant_bin[ 140 ], 16, 1 ); 100     const_str_plain_calledRepeatedly = UNSTREAM_STRING( &constant_bin[ 105 ], 16, 1 );
127     const_str_digest_41475201fdd2e96ae6ec59b6ddd8407e = UNSTREAM_STRING( &constant_bin[ 156 ], 98, 0 ); 101     const_str_digest_41475201fdd2e96ae6ec59b6ddd8407e = UNSTREAM_STRING( &constant_bin[ 121 ], 98, 0 );
128     const_str_angle_module = UNSTREAM_STRING( &constant_bin[ 254 ], 8, 0 ); 102     const_str_angle_module = UNSTREAM_STRING( &constant_bin[ 219 ], 8, 0 );
129     const_tuple_ba58284e993f645f647ff630deb3d552_tuple = PyTuple_New( 7 ); 103     const_tuple_ba58284e993f645f647ff630deb3d552_tuple = PyTuple_New( 7 );
130     PyTuple_SET_ITEM( const_tuple_ba58284e993f645f647ff630deb3d552_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); 104     PyTuple_SET_ITEM( const_tuple_ba58284e993f645f647ff630deb3d552_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
131     PyTuple_SET_ITEM( const_tuple_ba58284e993f645f647ff630deb3d552_tuple, 1, const_str_plain_a ); Py_INCREF( const_str_plain_a ); 105     PyTuple_SET_ITEM( const_tuple_ba58284e993f645f647ff630deb3d552_tuple, 1, const_str_plain_a ); Py_INCREF( const_str_plain_a );
132     PyTuple_SET_ITEM( const_tuple_ba58284e993f645f647ff630deb3d552_tuple, 2, const_str_plain_b ); Py_INCREF( const_str_plain_b ); 106     PyTuple_SET_ITEM( const_tuple_ba58284e993f645f647ff630deb3d552_tuple, 2, const_str_plain_b ); Py_INCREF( const_str_plain_b );
n 133     const_str_plain_c = UNSTREAM_STRING( &constant_bin[ 16 ], 1, 1 ); n 107     const_str_plain_c = UNSTREAM_STRING( &constant_bin[ 14 ], 1, 1 );
134     PyTuple_SET_ITEM( const_tuple_ba58284e993f645f647ff630deb3d552_tuple, 3, const_str_plain_c ); Py_INCREF( const_str_plain_c ); 108     PyTuple_SET_ITEM( const_tuple_ba58284e993f645f647ff630deb3d552_tuple, 3, const_str_plain_c ); Py_INCREF( const_str_plain_c );
n 135     const_str_plain_d = UNSTREAM_STRING( &constant_bin[ 47 ], 1, 1 ); n 109     const_str_plain_d = UNSTREAM_STRING( &constant_bin[ 45 ], 1, 1 );
136     PyTuple_SET_ITEM( const_tuple_ba58284e993f645f647ff630deb3d552_tuple, 4, const_str_plain_d ); Py_INCREF( const_str_plain_d ); 110     PyTuple_SET_ITEM( const_tuple_ba58284e993f645f647ff630deb3d552_tuple, 4, const_str_plain_d ); Py_INCREF( const_str_plain_d );
137     PyTuple_SET_ITEM( const_tuple_ba58284e993f645f647ff630deb3d552_tuple, 5, const_str_plain_e ); Py_INCREF( const_str_plain_e ); 111     PyTuple_SET_ITEM( const_tuple_ba58284e993f645f647ff630deb3d552_tuple, 5, const_str_plain_e ); Py_INCREF( const_str_plain_e );
138     PyTuple_SET_ITEM( const_tuple_ba58284e993f645f647ff630deb3d552_tuple, 6, const_str_plain_f ); Py_INCREF( const_str_plain_f ); 112     PyTuple_SET_ITEM( const_tuple_ba58284e993f645f647ff630deb3d552_tuple, 6, const_str_plain_f ); Py_INCREF( const_str_plain_f );
n 139     const_str_plain_x = UNSTREAM_STRING( &constant_bin[ 181 ], 1, 1 ); n 113     const_str_plain_x = UNSTREAM_STRING( &constant_bin[ 146 ], 1, 1 );
140     const_str_plain_C = UNSTREAM_STRING( &constant_bin[ 55 ], 1, 1 ); 114     const_str_plain_C = UNSTREAM_STRING( &constant_bin[ 53 ], 1, 1 );
141     const_tuple_str_plain_inst_tuple = PyTuple_New( 1 ); 115     const_tuple_str_plain_inst_tuple = PyTuple_New( 1 );
142     PyTuple_SET_ITEM( const_tuple_str_plain_inst_tuple, 0, const_str_plain_inst ); Py_INCREF( const_str_plain_inst ); 116     PyTuple_SET_ITEM( const_tuple_str_plain_inst_tuple, 0, const_str_plain_inst ); Py_INCREF( const_str_plain_inst );
n 143     const_str_plain_repeat = UNSTREAM_STRING( &constant_bin[ 262 ], 6, 1 ); n 117     const_str_plain_repeat = UNSTREAM_STRING( &constant_bin[ 227 ], 6, 1 );
144     const_tuple_none_int_pos_50000_tuple = PyTuple_New( 2 ); 118     const_tuple_none_int_pos_50000_tuple = PyTuple_New( 2 );
145     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 0, Py_None ); Py_INCREF( Py_None ); 119     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 0, Py_None ); Py_INCREF( Py_None );
146     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 1, const_int_pos_50000 ); Py_INCREF( const_int_pos_50000 ); 120     PyTuple_SET_ITEM( const_tuple_none_int_pos_50000_tuple, 1, const_int_pos_50000 ); Py_INCREF( const_int_pos_50000 );
n 147     const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple = PyTuple_New( 6 ); n
148     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 0, const_str_plain_some ); Py_INCREF( const_str_plain_some );
149     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 1, const_str_plain_random ); Py_INCREF( const_str_plain_random );
150     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 2, const_str_plain_values ); Py_INCREF( const_str_plain_values );
151     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 3, const_str_plain_to ); Py_INCREF( const_str_plain_to );
152     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 4, const_str_plain_check ); Py_INCREF( const_str_plain_check );
153     PyTuple_SET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 5, const_str_plain_call ); Py_INCREF( const_str_plain_call );
154     const_tuple_ca2f155a28955fc472d4376e2721d689_tuple = PyTuple_New( 6 );
155     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 0, const_str_plain_some ); Py_INCREF( const_str_plain_some );
156     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 1, const_str_plain_other ); Py_INCREF( const_str_plain_other );
157     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 2, const_str_plain_values ); Py_INCREF( const_str_plain_values );
158     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 3, const_str_plain_to ); Py_INCREF( const_str_plain_to );
159     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 4, const_str_plain_check ); Py_INCREF( const_str_plain_check );
160     PyTuple_SET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 5, const_str_plain_call ); Py_INCREF( const_str_plain_call );
161     const_str_plain_print_function = UNSTREAM_STRING( &constant_bin[ 268 ], 14, 1 ); 121     const_str_plain_print_function = UNSTREAM_STRING( &constant_bin[ 233 ], 14, 1 );
162 122
163     constants_created = true; 123     constants_created = true;
164 } 124 }
165 125
166 #ifndef __NUITKA_NO_ASSERT__ 126 #ifndef __NUITKA_NO_ASSERT__
618     PyObject *exception_keeper_type_1; 578     PyObject *exception_keeper_type_1;
619     PyObject *exception_keeper_value_1; 579     PyObject *exception_keeper_value_1;
620     PyTracebackObject *exception_keeper_tb_1; 580     PyTracebackObject *exception_keeper_tb_1;
621     NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; 581     NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
622     PyObject *tmp_assign_source_1; 582     PyObject *tmp_assign_source_1;
n 623     PyObject *tmp_called_instance_1; n
624     PyObject *tmp_called_instance_2;
625     PyObject *tmp_called_instance_3;
626     PyObject *tmp_called_name_1; 583     PyObject *tmp_called_name_1;
627     PyObject *tmp_return_value; 584     PyObject *tmp_return_value;
n 628     NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; n
629     static struct Nuitka_FrameObject *cache_frame_362a0a1f8347d02734d72cae3d05578f = NULL; 585     static struct Nuitka_FrameObject *cache_frame_362a0a1f8347d02734d72cae3d05578f = NULL;
630 586
631     struct Nuitka_FrameObject *frame_362a0a1f8347d02734d72cae3d05578f; 587     struct Nuitka_FrameObject *frame_362a0a1f8347d02734d72cae3d05578f;
632 588
633     char const *type_description; 589     char const *type_description;
681         goto frame_exception_exit_1; 637         goto frame_exception_exit_1;
682     } 638     }
683     assert( var_inst == NULL ); 639     assert( var_inst == NULL );
684     var_inst = tmp_assign_source_1; 640     var_inst = tmp_assign_source_1;
685 641
n 686     tmp_called_instance_1 = var_inst; n
687  
688     CHECK_OBJECT( tmp_called_instance_1 );
689     frame_362a0a1f8347d02734d72cae3d05578f->m_frame.f_lineno = 32;
690     tmp_unused = CALL_METHOD_WITH_ARGS6( tmp_called_instance_1, const_str_plain_compiled_method, &PyTuple_GET_ITEM( const_tuple_78e2f1ad354bdb7db1a0fda186168ee0_tuple, 0 ) );
691  
692     if ( tmp_unused == NULL )
693     {
694         assert( ERROR_OCCURRED() );
695  
696         FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
697  
698  
699         exception_lineno = 32;
700         type_description = "o";
701         goto frame_exception_exit_1;
702     }
703     Py_DECREF( tmp_unused );
704     tmp_called_instance_2 = var_inst;
705  
706     if ( tmp_called_instance_2 == NULL )
707     {
708  
709         exception_type = PyExc_UnboundLocalError;
710         Py_INCREF( exception_type );
711         exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "inst" );
712         exception_tb = NULL;
713         NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
714         CHAIN_EXCEPTION( exception_value );
715  
716         exception_lineno = 33;
717         type_description = "o";
718         goto frame_exception_exit_1;
719     }
720  
721     frame_362a0a1f8347d02734d72cae3d05578f->m_frame.f_lineno = 33;
722     tmp_unused = CALL_METHOD_WITH_ARGS6( tmp_called_instance_2, const_str_plain_compiled_method, &PyTuple_GET_ITEM( const_tuple_ca2f155a28955fc472d4376e2721d689_tuple, 0 ) );
723  
724     if ( tmp_unused == NULL )
725     {
726         assert( ERROR_OCCURRED() );
727  
728         FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
729  
730  
731         exception_lineno = 33;
732         type_description = "o";
733         goto frame_exception_exit_1;
734     }
735     Py_DECREF( tmp_unused );
736     tmp_called_instance_3 = var_inst;
737  
738     if ( tmp_called_instance_3 == NULL )
739     {
740  
741         exception_type = PyExc_UnboundLocalError;
742         Py_INCREF( exception_type );
743         exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "inst" );
744         exception_tb = NULL;
745         NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
746         CHAIN_EXCEPTION( exception_value );
747  
748         exception_lineno = 34;
749         type_description = "o";
750         goto frame_exception_exit_1;
751     }
752  
753     frame_362a0a1f8347d02734d72cae3d05578f->m_frame.f_lineno = 34;
754     tmp_unused = CALL_METHOD_WITH_ARGS6( tmp_called_instance_3, const_str_plain_compiled_method, &PyTuple_GET_ITEM( const_tuple_4cee4124c8df2995a8a82b981e580f5e_tuple, 0 ) );
755  
756     if ( tmp_unused == NULL )
757     {
758         assert( ERROR_OCCURRED() );
759  
760         FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
761  
762  
763         exception_lineno = 34;
764         type_description = "o";
765         goto frame_exception_exit_1;
766     }
767     Py_DECREF( tmp_unused );
768 642
769 #if 0 643 #if 0
770     RESTORE_FRAME_EXCEPTION( frame_362a0a1f8347d02734d72cae3d05578f ); 644     RESTORE_FRAME_EXCEPTION( frame_362a0a1f8347d02734d72cae3d05578f );
771 #endif 645 #endif
772 646
816     // tried codes exits in all cases 690     // tried codes exits in all cases
817     NUITKA_CANNOT_GET_HERE( __main__$$$function_1_calledRepeatedly ); 691     NUITKA_CANNOT_GET_HERE( __main__$$$function_1_calledRepeatedly );
818     return NULL; 692     return NULL;
819     // Return handler code: 693     // Return handler code:
820     try_return_handler_1:; 694     try_return_handler_1:;
n n 695     CHECK_OBJECT( (PyObject *)var_inst );
821     Py_XDECREF( var_inst ); 696     Py_DECREF( var_inst );
822     var_inst = NULL; 697     var_inst = NULL;
823 698
824     goto function_return_exit; 699     goto function_return_exit;
825     // Exception handler code: 700     // Exception handler code:
826     try_except_handler_1:; 701     try_except_handler_1:;
830     exception_keeper_lineno_1 = exception_lineno; 705     exception_keeper_lineno_1 = exception_lineno;
831     exception_type = NULL; 706     exception_type = NULL;
832     exception_value = NULL; 707     exception_value = NULL;
833     exception_tb = NULL; 708     exception_tb = NULL;
834     exception_lineno = 0; 709     exception_lineno = 0;
t 835   t
836     Py_XDECREF( var_inst );
837     var_inst = NULL;
838 710
839     // Re-raise. 711     // Re-raise.
840     exception_type = exception_keeper_type_1; 712     exception_type = exception_keeper_type_1;
841     exception_value = exception_keeper_value_1; 713     exception_value = exception_keeper_value_1;
842     exception_tb = exception_keeper_tb_1; 714     exception_tb = exception_keeper_tb_1;